Browse files

Fixed precompiling again

  • Loading branch information...
BDQ committed Oct 11, 2011
1 parent 91b51ab commit b3c43fbec8795b2f9b7ec90cc4622eb48e3cda6b
Showing with 3 additions and 3 deletions.
  1. +1 −1
  2. +1 −1 Rakefile
  3. +1 −1 core/lib/spree_core/railtie.rb
@@ -49,7 +49,7 @@ Peformance
Rails 3.1 introduced a concept known as the asset pipeline. Unfortunately it results in poor performance when running your site in development mode (production mode is unaffected.) You may want to run the following command when testing locally in development mode
- $ bundle exec rake assets:precompile RAILS_ENV=development RAILS_ASSETS_NONDIGEST=true
+ $ bundle exec rake assets:precompile:nondigest
Using the precompile rake task in development will prevent any changes to asset files from being automatically included in when you reload the page. You must re-run the precompile task for changes to become available.
@@ -98,5 +98,5 @@ task :sandbox do
cmd = "bundle exec rake db:bootstrap AUTO_ACCEPT=true"; puts cmd; system cmd
- cmd = "bundle exec rake assets:precompile RAILS_ENV=development RAILS_ASSETS_NONDIGEST=true"; puts cmd; system cmd
+ cmd = "bundle exec rake assets:precompile:nondigest"; puts cmd; system cmd
@@ -55,7 +55,7 @@ def self.activate
# sets the manifests / assets to be precompiled
- initializer "spree.assets.precompile", :group => :assets do |app|
+ initializer "spree.assets.precompile" do |app|
app.config.assets.precompile += ['store/all.*', 'admin/all.*', 'admin/spree_dash.*', 'admin/orders/edit_form.js', 'jqPlot/excanvas.min.js', 'admin/images/new.js']

0 comments on commit b3c43fb

Please sign in to comment.