require rake explicitly
This commit is contained in:
parent
733f8642f1
commit
c69f31008f
@ -12,6 +12,7 @@ module Guard
|
|||||||
def boot_rails
|
def boot_rails
|
||||||
return if @@rails_booted
|
return if @@rails_booted
|
||||||
puts "------------BOOTING RAILS"
|
puts "------------BOOTING RAILS"
|
||||||
|
require 'rake'
|
||||||
require "#{Dir.pwd}/config/environment.rb"
|
require "#{Dir.pwd}/config/environment.rb"
|
||||||
app = ::Rails.application
|
app = ::Rails.application
|
||||||
puts "--- CACHE=#{app.assets.cache}"
|
puts "--- CACHE=#{app.assets.cache}"
|
||||||
|
Loading…
Reference in New Issue
Block a user