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 > underscores > > $rake _0.7.3_ > > This is a standard feature of gem packaged binaries. > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/
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: Gem rails-1.2.5 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). Thanks again, Brian -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

