laredotornado-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org
2007-Oct-31 19:49 UTC
Error when starting rails, what does it mean?
Hi,
Can anyone tell me what the below error means when I''m trying to start
rails? I''m using Fedora LInux Core 5. After visiting the rails setup
page (http://www.rubyonrails.org/down), I''m getting stuck in the
"Make
your application" section. Specifically, when I type in "ruby script/
server" I get the below error. What does it mean and how can I
resolve it?
[root@remandev refillingstation]# cd /usr/local/apache2/htdocs/
testrails
[root@remandev testrails]# ruby script/server
=> Booting Mongrel (use ''script/server webrick'' to force
WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/
mongrel.rb:15: warning: already initialized constant OPTIONS
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/
mongrel.rb:18: undefined method `options'' for #<Array:0xb7b3b110>
(NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `gem_original_require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/
active_support/dependencies.rb:495:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/
active_support/dependencies.rb:342:in `new_constants_in''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/
active_support/dependencies.rb:495:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/
commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require''
from script/server:3
Thanks, - Dave
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---