diff --git a/Rakefile b/Rakefile index 9032493..6b11ba4 100644 --- a/Rakefile +++ b/Rakefile @@ -1,9 +1,7 @@ #!/usr/bin/env rake -begin - require 'bundler/setup' -rescue LoadError - puts 'You must `gem install bundler` and `bundle install` to run rake tasks' -end +require "bundler/gem_helper" + +Bundler::GemHelper.install_tasks(name: "refinerycms-i18n") ENGINE_PATH = File.dirname(__FILE__) APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)