[Rails] Versions Compatibility and RAILS_GEM_VERSION

Iseng --- isengoi at gmail.com
Tue Aug 15 06:05:53 GMT 2006


Is there any problem with versions compatibility?

A project I started with 1.1.2 cannot run with 1.1.4.

Dreamhost recently updated their rails from 1.1.2 to 1.1.5 and 1.1.6. 
Needless to say I got "Application Error". However when I changed 
RAILS_GEM_VERSION to either 1.1.5 or 1.1.6, it works. (Haven't made a 
thorough checking though.)

Here it seems there is no compatibility problem between 1.1.2 and 1.1.5 
/ 1.1.6.

So if, I started with one version (e.g. 1.1.2) will it still work after 
rails upgrade later (e.g. 1.9.9)?



What is the significance of RAILS_GEM_VERSION? Will changing it to other 
versions break my application?

Is there any way to automatically set RAILS_GEM_VERSION to latest 
installed Rails version (i.e. without editing environment.rb)?


Thanks

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list