Rakefile in fast_gettext-0.6.0 vs Rakefile in fast_gettext-0.6.1
- old
+ new
@@ -1,7 +1,7 @@
task :default do
- sh "AR='~>2' bundle && bundle exec rspec spec" # ActiveRecord 2
- sh "AR='~>3' bundle && bundle exec rspec spec" # ActiveRecord 3
+ sh "AR='~>2' && (bundle || bundle install) && bundle exec rspec spec" # ActiveRecord 2
+ sh "AR='~>3' && (bundle || bundle install) && bundle exec rspec spec" # ActiveRecord 3
end
task :benchmark do
puts "Running on #{RUBY}"
%w[baseline ideal fast_gettext original i18n_simple].each do |bench|