Created
May 21, 2011 18:13
-
-
Save elado/984739 to your computer and use it in GitHub Desktop.
Fix Rails with Rake 0.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add your own tasks in files placed in lib/tasks ending in .rake, | |
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
require File.expand_path('../config/application', __FILE__) | |
require 'rake' | |
################################ | |
# fixes rake 0.9 bug w/ rails | |
################################ | |
module ::RailsAppNameHere | |
class Application | |
include Rake::DSL | |
end | |
end | |
module ::RakeFileUtils | |
extend Rake::FileUtilsExt | |
end | |
################################ | |
# end fix | |
################################ | |
RailsAppNameHere::Application.load_tasks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment