Rick Denatale wrote:
On Tue, Jul 28, 2009 at 3:11 PM, Brian
Hartin[email protected] wrote:
“RAILS_GEM_VERSION = ‘1.2.5’” in environment.rb.
Well you can invoke rake with a specific version number bracketed with
This is a standard feature of gem packaged binaries.
Thanks. I was hoping for a way to do it in the Rails environment.rb
file, like ‘RAKE_VERSION = …’. I think I can set ‘rake path’ there,
but that seems like a hack. I’d like to just specify the version, and
let rails figure it out.
When I run ‘gem dependency rails -v 1.2.5’, I get:
rake (>= 0.7.2, runtime)
activesupport (= 1.4.4, runtime)
activerecord (= 1.15.5, runtime)
actionpack (= 1.13.5, runtime)
actionmailer (= 1.3.5, runtime)
actionwebservice (= 1.2.5, runtime)
It’s interesting that a given rails version depends on specific versions
of the ‘[active|action]*’ gems, but it will use the latest version of
Rake (over 0.7.2).