On 13 February 2012 15:04, aditya dsouza <[email protected]> wrote: > Hi I am working with the following code , but getting an error > > > ruby script/server > => Booting WEBrick > => Rails 2.3.5 application starting on http://0.0.0.0:3000 > /usr/local/rvm/gems/ruby-1.8.7-p357/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: > Gem::Dependency#version_requirements is deprecated and will be removed > on or after August 2010. Use #requirement
That is just a warning, I would not worry about it for the moment, sort out the errors first. > /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in > `load_missing_constant': uninitialized constant Earth::Db (NameError) > from > /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in > `const_missing' > from /root/mysite/webapp/config/environments/development.rb:66:in It is often not easy to see the important line in a stack trace, look for one that references some of your code. In this case the problem is at line 66 of the file above. Have a look at line 66 and see what it says, possibly it is trying to use a gem that you have not installed. Colin -- 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.

