Added rake task for running koans against several rubies.

This commit is contained in:
Jim Weirich
2010-09-27 13:46:21 -04:00
parent 17fb071814
commit beb7fe591e

7
rakelib/run.rake Normal file
View File

@@ -0,0 +1,7 @@
RUBIES = ENV['KOAN_RUBIES'] || %w(ruby-1.8.7-p299,ruby-1.9.2-p0,jruby-1.5.2,jruby-head)
task :runall do
chdir('src') do
sh "rvm #{RUBIES} path_to_enlightenment.rb"
end
end