Skip to content

Commit

Permalink
Rakefile cleanup. rake should bundle-load the environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenezech committed Oct 26, 2011
1 parent 2ce7b0f commit 0b7415d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#!/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.

Dir['lib/tasks/*.rake'].each { |rake| load rake }

require 'bundler'
Bundler::GemHelper.install_tasks

require "rubygems"
require "bundler/setup"
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
task :test => :spec
task :default => :spec

0 comments on commit 0b7415d

Please sign in to comment.