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

21 lines (16 sloc) 0.504 kB
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core'
require 'rspec/core/rake_task'
require 'bump/tasks'
task :default => :spec
desc "Run specs"
RSpec::Core::RakeTask.new(:spec)
desc "Run tests against all other versions of Rails (!run task without 'bundle exec'!)"
task :all do
versions = %w[~>2 ~>3.0.0 ~>3.1.0]
versions.each do |version|
sh "export RAILS_VERSION='#{version}' && (bundle check || bundle update) && bundle exec rake"
end
sh "git co Gemfile.lock"
end
Jump to Line
Something went wrong with that request. Please try again.