Skip to content

Instantly share code, notes, and snippets.

/Rakefile Secret

Created May 22, 2011 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4b4e24877b107b00bcba to your computer and use it in GitHub Desktop.
Save anonymous/4b4e24877b107b00bcba to your computer and use it in GitHub Desktop.
Non-broken Rake 0.9.0 RakeFile Example
# 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'
module ::YourApplicationName
class Application
include Rake::DSL
end
end
module ::RakeFileUtils
extend Rake::FileUtilsExt
end
YourApplicationName::Application.load_tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment