diff --git a/lib/guard/rails-assets/rails_runner.rb b/lib/guard/rails-assets/rails_runner.rb index 0d15cdf..761600c 100644 --- a/lib/guard/rails-assets/rails_runner.rb +++ b/lib/guard/rails-assets/rails_runner.rb @@ -12,6 +12,7 @@ module Guard def boot_rails return if @@rails_booted puts "------------BOOTING RAILS" + require 'rake' require "#{Dir.pwd}/config/environment.rb" app = ::Rails.application puts "--- CACHE=#{app.assets.cache}"