Permalink
Browse files

precompiling assets with spree cmd

[Fixes #1059]
  • Loading branch information...
1 parent 2ea7d8e commit d591ac27e5ab2e66a4bcd99b06c4b4468851d224 cmar committed with schof Jan 31, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 cmd/lib/spree_cmd/installer.rb
@@ -99,6 +99,13 @@ def initialize_spree
end
end
+ def precompile_assets
+ say_status :precompiling, "assets"
+ inside @app_path do
+ run 'bundle exec rake assets:precompile', :verbose => false
+ end
+ end
+
private
def gem(name, options={})

0 comments on commit d591ac2

Please sign in to comment.