diff --git a/Gemfile b/Gemfile index 5378d16..4bafc28 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,4 @@ source "http://rubygems.org" gemspec -gem 'rake' +gem 'rake', :require => false diff --git a/lib/guard/rails-assets.rb b/lib/guard/rails-assets.rb index f640b8d..00cf46e 100644 --- a/lib/guard/rails-assets.rb +++ b/lib/guard/rails-assets.rb @@ -1,6 +1,5 @@ require 'guard' require 'guard/guard' -require 'rake/dsl_definition' module Guard class RailsAssets < Guard @@ -18,7 +17,6 @@ module Guard def reload runner.reload if runner.respond_to? :reload - compile_assets if run_for? :reload end diff --git a/lib/guard/rails-assets/rails_runner.rb b/lib/guard/rails-assets/rails_runner.rb index db8ed8d..c4bd205 100644 --- a/lib/guard/rails-assets/rails_runner.rb +++ b/lib/guard/rails-assets/rails_runner.rb @@ -1,3 +1,4 @@ +require 'rake/dsl_definition' module Guard class RailsAssets::RailsRunner @@ -59,9 +60,5 @@ module Guard def failed? @failed end - - def restart_rails - fail "Not implemented" - end end end