Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wilson
Created October 20, 2009 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilson/214626 to your computer and use it in GitHub Desktop.
Save wilson/214626 to your computer and use it in GitHub Desktop.
# Run the bundler directly instead of relying on Rake to do it
if ARGV.any? {|task_name| task_name =~ /^gems:bundle$/}
system "gem bundle"
end
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
namespace :gem do
desc "Fictitious task to represent gem bundling"
task :bundle do
#nothing
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment