Most likely you don't have this defined in your environment.rb:
config.action_controller.session = {
:session_key => '_app_session',
:secret => 'random seed'
}
On Nov 11, 2007, at 1:24 PM, Jesper Rønn-Jensen wrote:
>
> Note: Posted this as a comment on
> http://weblog.rubyonrails.com/2007/11/9/rails-2-0-release-candidate-1/comments/17924#comment-17924
> but realized it probably will be better to post here.
>
> Upgrading from PR1 to RC1 gives me the following crash when starting
> webserver.
>
> Any idea what is missing?
>
> PS. (i have run the rake task twice to make sure it got
> actionwebservice as well: rake rails:freeze:gems TAG=rel_2-0-0_RC1 )
>
> ====stack trace below (same with mongrel and webrick)====
>
> $ ruby script\server webrick => Booting WEBrick... ./script/../
> config/../
> vendor/rails/railties/lib/initializer.rb:334:in `send': undefined
> method `session=' for ActionController::Base:Class (NoMethodError)
> from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
> 334:in `initialize_framework_settings' from ./script/../config/../
> vendor/rails/railties/lib/initializer.rb:333:in `each' from ./
> script/../config/../vendor/rails/railties/lib/initializer.rb:333:in
> `initialize_framework_settings' from ./script/../config/../vendor/
> rails/railties/lib/initializer.rb:330:in `each' from ./script/../
> config/../vendor/rails/railties/lib/initializer.rb:330:in
> `initialize_framework_settings' from ./script/../config/../vendor/
> rails/railties/lib/initializer.rb:100:in `process' from ./script/../
> config/../vendor/rails/railties/lib/initializer.rb:47:in `send'
> from ./
> script/../config/../vendor/rails/railties/lib/initializer.rb:47:in
> `run' ... 12 levels...
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---