Sha256: 502b51b1f7729e278de115dcd83772d92a2037854d41e760d02863f53322a18c
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks namespace :spec do desc "Run on three Rubies" task :platforms do current = %x{rvm-prompt v} fail = false %w{1.8.7 1.9.2 ree}.each do |version| puts "Switching to #{version}" system %{rvm #{version}} system %{bundle exec rspec spec} if $?.exitstatus != 0 fail = true break end end system %{rvm #{current}} exit (fail ? 1 : 0) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-rails-0.0.2 | Rakefile |