Rakefile in ar-translatable-0.1.0 vs Rakefile in ar-translatable-0.2.0
- old
+ new
@@ -1,7 +1,15 @@
-require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+begin
+ require 'bundler/setup'
+rescue LoadError
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
+end
-RSpec::Core::RakeTask.new(:spec)
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
-task :default => :spec
+APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
+load 'rails/tasks/engine.rake'
+RSpec::Core::RakeTask.new(:spec)
+
+task default: :spec