Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rakefile cleanup. rake should bundle-load the environment.

  • Loading branch information...
commit 0b7415d7d9c990709865d70e9921be9c44479189 1 parent 2ce7b0f
@bbenezech bbenezech authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 Rakefile
View
9 Rakefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.