There was an error while loading. Please reload this page.
1 parent 997d301 commit 1e4dec9Copy full SHA for 1e4dec9
1 file changed
Rakefile
@@ -1,9 +1,10 @@
1
#!/usr/bin/env rake
2
+require "bundler/gem_helper"
3
-begin
4
- require 'bundler/setup'
5
-rescue LoadError
6
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
+Bundler::GemHelper.install_tasks(name: "refinerycms")
+
+%w[core dragonfly images pages resources testing].each do |sub_gem|
7
+ Bundler::GemHelper.install_tasks(dir: sub_gem, name: "refinerycms-#{sub_gem}")
8
end
9
10
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
0 commit comments