Created
December 5, 2012 22:23
-
-
Save spencerfdavis/4220060 to your computer and use it in GitHub Desktop.
FIX - rake aborted! undefined method `task' for #
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
require 'rake' | |
##!/usr/bin/env rake | |
# 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__) | |
module ::Example | |
class Application | |
include Rake::DSL | |
end | |
end | |
module ::RakeFileUtils | |
extend Rake::FileUtilsExt | |
end | |
Example::Application.load_tasks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment