There was an error while loading. Please reload this page.
1 parent 77bac04 commit 0a0f43fCopy full SHA for 0a0f43f
2 files changed
Rakefile
@@ -1,5 +1,4 @@
1
#!/usr/bin/env rake
2
-require 'logger'
3
4
begin
5
require 'bundler/setup'
@@ -8,10 +7,7 @@ rescue LoadError
8
7
end
9
10
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
11
-
12
-if File.exist?(APP_RAKEFILE)
13
- load 'rails/tasks/engine.rake'
14
-end
+load 'rails/tasks/engine.rake' if File.exist?(APP_RAKEFILE)
15
16
Dir[File.expand_path('../tasks/**/*', __FILE__)].each do |task|
17
load task
core/lib/generators/refinery/dummy/templates/rails/boot.rb.erb
require 'rubygems'
gemfile = File.expand_path("<%= gemfile_path %>", __FILE__)
ENV['BUNDLE_GEMFILE'] = gemfile
0 commit comments