diff options
| author | Alban Peignier | 2012-03-11 23:15:34 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2012-03-11 23:15:34 +0100 | 
| commit | 8bf0ebaaa1f650df6c6a9684fb38fcc6801e18a8 (patch) | |
| tree | b6e9c1651ce2170296b7930bd05bedf36621e6a6 /lib | |
| parent | da9830bbeac8b124f8065ece1aebfd482b52a57b (diff) | |
| download | chouette-core-8bf0ebaaa1f650df6c6a9684fb38fcc6801e18a8.tar.bz2 | |
Add a workaround to Sprockets::Bootstrap
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/assets.rake | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake new file mode 100644 index 000000000..251348b9e --- /dev/null +++ b/lib/tasks/assets.rake @@ -0,0 +1,6 @@ +namespace :assets do +  task :environment do +    puts "Sprockets::Bootstrap workaround (#{__FILE__})" +    Sprockets::Bootstrap.new(Rails.application).run if Rails.application.assets.paths.empty? +  end +end  | 
