Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'skinnyfit/fix_sprockets_check'
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Aug 13, 2013
2 parents f802f31 + bd0bbb6 commit 17f4949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/requirejs-rails_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace :requirejs do
end

task :setup => ["assets:environment"] do
unless Rails.application.config.assets.enabled
unless defined?(Sprockets)
warn "Cannot precompile assets if sprockets is disabled. Please set config.assets.enabled to true"
exit
end
Expand Down

0 comments on commit 17f4949

Please sign in to comment.