Rails version locking


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

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

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:

Best regards,

Witold R.

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