From c69f31008fd54d6f08217724c9d4b0c6139ed0ea Mon Sep 17 00:00:00 2001 From: Dmytrii Nagirniak Date: Fri, 2 Sep 2011 18:10:02 +1000 Subject: [PATCH] require rake explicitly --- lib/guard/rails-assets/rails_runner.rb | 1 + 1 file changed, 1 insertion(+) 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}"