# What's the latest reliable version of Rails 2?

**URL:** <https://www.ruby-forum.com/t/whats-the-latest-reliable-version-of-rails-2/183781>\
**Category:** Rails\
**Created:** [February 20, 2010, 12:50am UTC](https://www.ruby-forum.com/t/whats-the-latest-reliable-version-of-rails-2/183781 "2010-02-20T00:50:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [February 20, 2010, 12:50am UTC](https://www.ruby-forum.com/t/whats-the-latest-reliable-version-of-rails-2/183781/1 "2010-02-20T00:50:10Z")

</div>

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 method`session=’ for  
ActionControlle  
r::Base:Class (NoMethodError)

My system seems to be screwed up now.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [February 20, 2010, 12:54am UTC](https://www.ruby-forum.com/t/whats-the-latest-reliable-version-of-rails-2/183781/2 "2010-02-20T00:54:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [February 20, 2010, 3:46am UTC](https://www.ruby-forum.com/t/whats-the-latest-reliable-version-of-rails-2/183781/3 "2010-02-20T03:46:22Z")

</div>

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 method`session=’ 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:

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [February 20, 2010, 4:05am UTC](https://www.ruby-forum.com/t/whats-the-latest-reliable-version-of-rails-2/183781/4 "2010-02-20T04:05:41Z")

</div>

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