Hi All,

When I run ruby script/server, I get the error message:

K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/
lib/initializer.rb:328:in `send': undefined method `session=' for
ActionController::Base:Class (NoMethodError)

Why did Ruby reference a rails-1.2.3 gem, rather than a 2.3.5 gem,
since that's what I specified in environment.rb:
RAILS_GEM_VERSION = '2.3.5' unless ...
and I have no system environment variable named RAILS_GEM_VERSION.

The error message is probably appropriate for the 1.2.3 Rails version
because initializer.rb at line 328 is using meta-programming likely to
produce the the variable "session=".

However I specified Rails gem version 2.3.5, so the 1.2.3 version of
initializer.rb should not have been invoked.  And the 2.3.5 version of
initializer looks fine on this score.

Could I have done something to cause this error?

TIA,
Richard

-- 
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.

Reply via email to