Permalink
Browse files

Remove line causing uninitialized constant Sprockets::Helpers

As far as I can tell this is not needed. Running the task with the original
line, ActionView::Helpers::SprocketsHelper, does nothing different to the final output.
Whatever the case, I could find nowhere that Sprockets::Helpers is defined.

Other option is to revert 9701014
  • Loading branch information...
1 parent 9b67918 commit a66043ace7a74a02a4bd859e1367fe620450ed90 @lardawge committed May 26, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 railties/lib/rails/tasks/assets.rake
@@ -1,8 +1,6 @@
namespace :assets do
desc "Compile all the assets named in config.assets.precompile"
task :precompile => :environment do
- # Give assets access to asset_path
- Sprockets::Helpers::RailsHelper
assets = Rails.application.config.assets.precompile
Rails.application.assets.precompile(*assets)

0 comments on commit a66043a

Please sign in to comment.