Permalink
Browse files

Rakefile cleanup. rake should bundle-load the environment.

  • Loading branch information...
1 parent 2ce7b0f commit 0b7415d7d9c990709865d70e9921be9c44479189 @bbenezech bbenezech committed Oct 26, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 Rakefile
View
@@ -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.