Can I specify the rake version?


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.


Brian Hartin

Well you can invoke rake with a specific version number bracketed with

$rake _0.7.3_

This is a standard feature of gem packaged binaries.