Reverting to a previous rails version

I recently updated to rails 1.2.5 and I got gems installed for 1.1.0,
1.1.6 1.2.0 and 1.2.5
Since I wanted to revert my app back to 1.1.6 I set
RAILS_CONNECTION_ADAPTERS = ‘1.1.6’ in enviroement.rb but that doesn’t
seem to do the trick.
Am I missing something?

2007/10/25, Emanuele R. [email protected]:

I recently updated to rails 1.2.5 and I got gems installed for 1.1.0,
1.1.6 1.2.0 and 1.2.5
Since I wanted to revert my app back to 1.1.6 I set
RAILS_CONNECTION_ADAPTERS = ‘1.1.6’ in enviroement.rb but that doesn’t
seem to do the trick.

you should set RAILS_GEM_VERSION to ‘1.1.6’ (or better freeze rails to
the vendor/rails directory in your application)

HTH
Luca

Luca M. wrote:

2007/10/25, Emanuele R. [email protected]:

I recently updated to rails 1.2.5 and I got gems installed for 1.1.0,
1.1.6 1.2.0 and 1.2.5
Since I wanted to revert my app back to 1.1.6 I set
RAILS_CONNECTION_ADAPTERS = ‘1.1.6’ in enviroement.rb but that doesn’t
seem to do the trick.

you should set RAILS_GEM_VERSION to ‘1.1.6’ (or better freeze rails to
the vendor/rails directory in your application)

HTH
Luca

Oh sorry, I copied the wrong text, I meant to write that I set
RAILS_GEM_VERSION = ‘1.1.6’ in evinroement.rb…
Thant doesnt seem to work properly.
By the way, what do I need to do to freeze rails? Could you explain it
clearly?
Any guess at why setting RAILS_GEM_VERSION doesnt work?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs