4 ms·
Notice this in the new rake 0.9.0: * Incompatible change: Rake DSL commands ('task', 'file', etc.) are no longer private methods in Object. If you need to ca
by merecat 15y ago
Notice this in the new rake 0.9.0:
* Incompatible change: Rake DSL commands ('task', 'file', etc.) are
no longer private methods in Object. If you need to call 'task :xzy' inside
your class, include Rake::DSL into the class. The DSL is still available at
the top level scope (via the top level object which extends Rake::DSL).
http://github.com/jimweirich/rake/blob/master/CHANGES http://github.com/jimweirich/rake/blob/master/CHANGES
- gnufied 15y agoThe fix has been included in Release candidate: https://github.com/rails/rails/commit/8b719cf3f73cbce78506e3a42ed01b2c4314a70a https://github.com/rails/rails/commit/8b719cf3f73cbce78506e3...
- merecat 15y agoRight; my comment was for people who may encounter the incompatibility in their own Rakefiles.
- getsat 15y agoI ran into this bug today in a fresh install of the latest Rails/Rake. If your rake tasks are currently exploding due to Rake 0.9.0, making your Rakefile look like this will fix it: https://gist.github.com/4b4e24877b107b00bcba https://gist.github.com/4b4e24877b107b00bcba
- getsat 15y agoOn second thought, don't do this. Add rake 0.8.7 to your gemfile and bundle update. Rake 0.9.0 is insanely broken.