lib/libnotify/tasks/rubies.rake in libnotify-0.8.0 vs lib/libnotify/tasks/rubies.rake in libnotify-0.8.1

- old
+ new

@@ -1,6 +1,6 @@ -SUPPORTED_RUBIES = %w[ree 1.9.2 1.9.3 jruby rbx] +SUPPORTED_RUBIES = %w[ree 1.9.3 2.0.0 jruby rbx] GEMSPEC = Bundler::GemHelper.new(Dir.pwd).gemspec def with_ruby(ruby, command) gemset = GEMSPEC.name command = %{rvm #{ruby}@#{gemset} --create do bash -c '#{command}'} @@ -13,9 +13,9 @@ end namespace :rubies do desc "Run tests for following supported platforms #{SUPPORTED_RUBIES.join ", "}" task :test do - command = "(bundle check || bundle install) && bundle exec rake" + command = "rm -f Gemfile.lock && bundle install && bundle exec rake" SUPPORTED_RUBIES.each { |ruby| with_ruby(ruby, command) } end end