Always good to test it in development before moving it to production. :) Never seen that error myself. Let me copy and past what I have from the environment.rb file. I was typing that earlier post from memory:
config.gem "RedCloth", :version => ">= 4.1.1", :source => "http:// code.whytheluckystiff.net" This is on an app which is running rails 2.1, although it should work fine on 2.2+. It's added just before the closing end on the Rails::Initializers.run block in config/environment.rb. Sheldon F. http://twitter.com/sheldonfinlay On Jan 14, 5:28 pm, "Paul Jonathan Thompson" <[email protected]> wrote: > Hi Sheldon, > > Tried what you advised. Am getting this message on starting Webrick (I > thought I would test it here before trying in production) > > => Booting WEBrick... > /usr/local/lib/site_ruby/1.8/rubygems/requirement.rb:150:in `parse': > Illformed requirement [{:source=>"http://code.whytheluckystiff.net", > :version=>">= 4.1.1"}] (ArgumentError) > from /usr/local/lib/site_ruby/1.8/rubygems/requirement.rb:75:in > `initialize' > > Thanks, > > Paul Thompson > > 2009/1/15 [email protected] <[email protected]>: > > > > > I had a similar problem a while back and had to add the following to > > my environment.rb file: > > > config.gem "RedCloth", :version => ">= 4.1.1", :source => "http:// > > code.whytheluckystiff.net" > > > This should go in the Rails::Initializers.run block. > > > Sheldon --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

