Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (25 sloc) 0.745 kB
require 'rubygems'
# require 'appraisal'
require 'rake'
begin
require 'rspec/core/rake_task'
desc "Run RSpec"
RSpec::Core::RakeTask.new do |t|
t.verbose = false
end
rescue LoadError
puts "You should run rake spec:install in order to install all corresponding gems!"
end
task :default => :spec
namespace :spec do
task :install do
puts `bundle install --gemfile=gemfiles/Gemfile.rails3_0`
puts `bundle install --gemfile=gemfiles/Gemfile.rails3_1`
end
task :all do
ENV['BUNDLE_GEMFILE'] = File.expand_path('../gemfiles/Gemfile.rails3_0', __FILE__)
Rake::Task["spec"].execute
ENV['BUNDLE_GEMFILE'] = File.expand_path('../gemfiles/Gemfile.rails3_1', __FILE__)
Rake::Task["spec"].execute
end
end
Jump to Line
Something went wrong with that request. Please try again.