Programming ≈ Fun

Written by Krešimir Bojčić

Rake 0.9 Is Breaking Rails 3

Rake version 0.9 is currently breaking Rails. Error is occurring every time a rake task is invoked:

rake aborted!
undefined method `task

I am sure that patch is on its way. Until that you can use Rake 0.8.7 or monkey patch Rakefile like is’t originally suggested here

module ::NameOfYoursRailsApp
  class Application
    include Rake::DSL
  end
end

module ::RakeFileUtils
  extend Rake::FileUtilsExt
end

« Installing Command-T Vim Plugin on Ubuntu 11.04 with Ruby 1.9.2 Recording a Screencast on Linux (Ubuntu 11.04 in particular) »

Comments

Copyright © 2019 - Kresimir Bojcic (LinkedIn Profile)