Skip to content

Instantly share code, notes, and snippets.

@carllerche
Created February 24, 2010 01:40
Show Gist options
  • Save carllerche/312971 to your computer and use it in GitHub Desktop.
Save carllerche/312971 to your computer and use it in GitHub Desktop.
# 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 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
begin
require File.expand_path('../config/application', __FILE__)
Rails::Application.load_tasks
rescue WhateverError
end
task :omg do
puts "YAY"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment