Permalink
Browse files

require rake explicitly

  • Loading branch information...
1 parent 733f864 commit c69f31008fd54d6f08217724c9d4b0c6139ed0ea @dnagir committed Sep 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/guard/rails-assets/rails_runner.rb
View
1 lib/guard/rails-assets/rails_runner.rb
@@ -12,6 +12,7 @@ def initialize(options)
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}"

0 comments on commit c69f310

Please sign in to comment.