Skip to content
Browse files

Test with multiple Ruby versions.

  • Loading branch information...
1 parent 84f74ed commit 284baac98160b578a1ea15f3ed9bfa1c1c74d4e0 @djanowski committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 Rakefile
View
4 Rakefile
@@ -1,5 +1,7 @@
task :test do
- system "cd test && env GEM_HOME=#{File.expand_path("tmp")} ruby dependencies_test.rb"
+ binary = File.open($0) { |f| f.gets }[/#\s*!\s*(.*)/, 1]
+ puts "Running suite with #{binary}"
+ system "cd test && env GEM_HOME=#{File.expand_path("tmp")} #{binary} dependencies_test.rb"
end
task :default => :test

0 comments on commit 284baac

Please sign in to comment.
Something went wrong with that request. Please try again.