What's the latest reliable version of Rails 2?

Hi,

I just installed Rails 2.3.5 over Ruby 1.8.6

When I try to bring up Webrick now, I get:

K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:
827:in `report_activate_error’: RubyGem version error: rack(1.0.0 not
~> 1.0.1)
Gem::LoadError)

When I revert to Rails 1.2.3 over Ruby 1.8.6 and try to bring up
Webrick now, I get:

K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/
lib/initializer.rb:328:in send': undefined methodsession=’ for
ActionControlle
r::Base:Class (NoMethodError)

My system seems to be screwed up now.

Any suggestions?

You’d have been fine with 2.3.5 if you’d have rack 1.0.1 installed.

Hi Steve,

Thanks for your response.

I solved one of my problems: the “rack(1.0.0 not ~> 1.0.1)” error:
following the advice on another forum, I executed:

gem install rack -v 1.0.1

That leaves another problem: I’m running “ruby script/server” in the
directory, RTS containing a Rails implementation that includes the
statement

“RAILS_GEM_VERSION = ‘2.3.5’ unless defined? RAILS_GEM_VERSION”

in the file “RTS\config\environment.rb” file. I have no
RAILS_GEM_VERSION environment variable among WindowsXP’s environment
variables.

The server script gives me 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 methodsession=’ for
ActionController::Base:Class (NoMethodError)

Why did it reference a rails-1.2.3 gem, rather than a 2.3.5 gem,
since that’s what I specified in environment.rb:

High Steve,
Because this topic only garnered one response today, I’m, going to
post the remaining question as a new topic. Again, thanks for
addressing the first question.

Richard

On Feb 19, 9:45 pm, RichardOnRails