Rakefile in watchr-0.5.8 vs Rakefile in watchr-0.5.9

- old
+ new

@@ -13,15 +13,14 @@ system cmd end desc "Run all tests on multiple ruby versions (requires rvm)" task(:portability) do - versions = %w( 1.8.6 1.8.7 ) - versions.each do |version| + %w( 1.8.6 1.8.7 1.9.1 1.9.2 ).each do |version| system <<-BASH bash -c 'source ~/.rvm/scripts/rvm; - rvm use #{version}; - echo "--------- `ruby -v` ----------\n"; + rvm #{version}; + echo "--------- v#{version} ----------\n"; rake -s test:all' BASH end end end