djrobby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-31 03:37 UTC
Error starting WEBrick after environment.rb modification
This started for me after I umcommented config.action_controller.session_store = :active_record_store line in environment.rb C:\ruby\projects\depot>ruby script/server => Booting WEBrick..../script/../config/../config/environment.rb:35: undefined method `action_controller'' for Config:Module (NoMethodError) from ./script/../config/../vendor/rails/railties/lib/initializer.rb:40:in `run'' from ./script/../config/../config/environment.rb:13 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:400:in `require'' from ./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:52 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:400:in `require'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from script/server:3 any ideas? I am currently using the latest EdgeRails revison 5375 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
djrobby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-31 16:44 UTC
Re: Error starting WEBrick after environment.rb modification
can someone please help me in this matter? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
redsol8-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
2006-Nov-24 11:35 UTC
Re: Error starting WEBrick after environment.rb modification
Hi, I had the same problem and it was because the ''c'' in config was capitalized: Config.action_controller.session_store = :active_record_store Once I changed it, WEBrick started up fine. JP --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---