Create a gist now

Instantly share code, notes, and snippets.

Rake 0.9.0 and Rails 3 (problem + solution = love)
require File.expand_path('../config/application', __FILE__)
require 'rake'
# add this freedom patch per
class Rails::Application
include Rake::DSL if defined?(Rake::DSL)
gumboyaya (master)$ rake -T
rake aborted!
undefined method `task' for #<GumboYaya::Application:0x000001010ef5e0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment