On Tue, Jul 28, 2009 at 3:11 PM, Brian
Hartin<[email protected]> wrote:
>
> Hi,
>
> Is there a clean way to ensure that a particular rails project uses a
> particular version of rake?
>
> I had a problem when a gem (calendar_date_select) upgraded my rake gem.
> The newer version (0.8.4) wasn't backward compatible with the older one
> (0.7.3).  Running 'rake' seems to use the latest version of rake,
> regardless of the version of Rails, i.e. I'd specified
> "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/rickdenatale

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to