fiercefe@sh113 [~/public_html/ruby_test]# ruby script/server ./script/../config/boot.rb:29: undefined method `gem' for main:Object (NoMethodError) from script/server:2 I did: rails ruby_test then I tried to create a controller as shown above and incurred errors, wondering if you know what's wrong. Additionally I can't run the command: ruby script/server to start the server on the ruby folder. Any idea what to do from here? Should I contact my hosting?
on 2007-02-19 22:44
on 2007-02-19 22:56
I think you need to start your webserver from the application root directory. hth, Bill
on 2007-02-19 23:17
2007/2/19, email@example.com <firstname.lastname@example.org>: > the command: ruby script/server to start the server on the ruby > folder. > > Any idea what to do from here? Should I contact my hosting? You've got Rails 1.2.2 and Rubygems < 0.9.0, and gem replaces require_gem method (see : http://weblog.rubyonrails.org/2007/2/6/rails-1-2-2... ). So downgrade Rails or upgrade RubyGems. -- Jean-François. -- Ruby ( http://www.rubyfrance.org ) on Rails ( http://www.railsfrance.org )