HighDots Forums  

RedCloth error

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss RedCloth error in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Smit Shah
 
Posts: n/a

Default RedCloth error - 11-03-2009 , 06:55 AM






Hi All

I have installed RedCloth 4.2.2 & 4.2.1.
When I tried to create new post in forum(of my application) it gives me
error like " uninitialized constant Rails::Plugin::RedCloth".

In local it runs without any error... but when I tried to run the same
code on server it gives me that error..

Any idea???
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #2  
Old   
anton effendi
 
Posts: n/a

Default Re: RedCloth error - 11-03-2009 , 09:46 AM






add in enviroment.rb
config.gem "RedCloth"

On Tue, Nov 3, 2009 at 6:55 PM, Smit Shah
<rails-mailing-list (AT) andreas-s (DOT) net>wrote:

Quote:
Hi All

I have installed RedCloth 4.2.2 & 4.2.1.
When I tried to create new post in forum(of my application) it gives me
error like " uninitialized constant Rails::Plugin::RedCloth".

In local it runs without any error... but when I tried to run the same
code on server it gives me that error..

Any idea???
--
Posted via http://www.ruby-forum.com/.




--

Senior Rails Developer
Anton Effendi - Wu You Duan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #3  
Old   
Smit Shah
 
Posts: n/a

Default Re: RedCloth error - 11-03-2009 , 10:49 PM



anton effendi wrote:
Quote:
add in enviroment.rb
config.gem "RedCloth"

On Tue, Nov 3, 2009 at 6:55 PM, Smit Shah
rails-mailing-list (AT) andreas-s (DOT) net>wrote:

Any idea???
--
Posted via http://www.ruby-forum.com/.





--

Senior Rails Developer
Anton Effendi - Wu You Duan
Thanks for your reply.

I have written the code that you have told. I have also tried following
code.
--> config.gem "RedCloth"
--> config.gem "RedCloth", :lib => "redcloth", :version => "4.2.2"

But I still get the error as:
" NameError (uninitialized constant Rails::Plugin::RedCloth) "

I have installed gem RedCloth 4.2.2 & 4.2.1

Help me out of this....
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #4  
Old   
anton effendi
 
Posts: n/a

Default Re: RedCloth error - 11-04-2009 , 09:42 AM



hmmm....
have u tried copy that gem into vendor/gems?

On Wed, Nov 4, 2009 at 10:49 AM, Smit Shah <rails-mailing-list (AT) andreas-s (DOT) net
Quote:
wrote:


anton effendi wrote:
add in enviroment.rb
config.gem "RedCloth"

On Tue, Nov 3, 2009 at 6:55 PM, Smit Shah
rails-mailing-list (AT) andreas-s (DOT) net>wrote:

Any idea???
--
Posted via http://www.ruby-forum.com/.





--

Senior Rails Developer
Anton Effendi - Wu You Duan

Thanks for your reply.

I have written the code that you have told. I have also tried following
code.
--> config.gem "RedCloth"
--> config.gem "RedCloth", :lib => "redcloth", :version => "4.2.2"

But I still get the error as:
" NameError (uninitialized constant Rails::Plugin::RedCloth) "

I have installed gem RedCloth 4.2.2 & 4.2.1

Help me out of this....
--
Posted via http://www.ruby-forum.com/.




--

Senior Rails Developer
Anton Effendi - Wu You Duan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #5  
Old   
Smit Shah
 
Posts: n/a

Default Re: RedCloth error - 11-04-2009 , 10:36 PM



anton effendi wrote:
Quote:
hmmm....
have u tried copy that gem into vendor/gems?

On Wed, Nov 4, 2009 at 10:49 AM, Smit Shah
rails-mailing-list (AT) andreas-s (DOT) net
wrote:

Posted via http://www.ruby-forum.com/.
Thanks for your reply.

Help me out of this....
--
Posted via http://www.ruby-forum.com/.





--

Senior Rails Developer
Anton Effendi - Wu You Duan

Its working now..

Thanks Anton
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.