clean up testing some more

This commit is contained in:
John Bintz 2011-06-06 09:49:58 -04:00
parent 883dfa618e
commit a10226bc5f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ source "http://rubygems.org"
gemspec gemspec
gem 'rake', '0.8.7' gem 'rake', '0.8.7'
gem 'fakefs', :require => nil gem 'fakefs', :require => nil
gem 'guard' gem 'guard', :git => 'https://github.com/guard/guard.git'
gem 'guard-rspec' gem 'guard-rspec'
require 'rbconfig' require 'rbconfig'

View File

@ -13,7 +13,7 @@ namespace :spec do
%w{1.8.7 1.9.2 ree}.each do |version| %w{1.8.7 1.9.2 ree}.each do |version|
puts "Switching to #{version}" puts "Switching to #{version}"
Bundler.with_clean_env do Bundler.with_clean_env do
system %{bash -c 'source ~/.rvm/scripts/rvm && rvm #{version} && bundle && bundle exec rake spec'} system %{bash -c 'source ~/.rvm/scripts/rvm && rvm #{version} && bundle exec rake spec'}
end end
if $?.exitstatus != 0 if $?.exitstatus != 0
fail = true fail = true