Rails version locking


#1

Hi!

I’ve run on issue with sticking to older rails version on my boxes.

I tried to use
http://wiki.rubyonrails.com/rails/pages/HowtoLockToSpecificRailsVersions
but when running WEBrick (with proper changes to config/environment.rb),
it thorws error: can’t activate rails (<= 1.0.0), already activated
rails-1.1.2.

I did play a little with debugger and found out, that it is not possible
to work, since config/boot activates default system rails version, later
goes to envionment.rb, and happily :)) fails.

Is some nice way to lock version, other than checking out whole rails
into vendor sub directory, or hack boot.rb?

More on this topic:
http://nhw.pl/wp/2006/05/13/continuing-with-rails-version-locking/

Best regards,


Witold R.
http://nhw.pl