Last active
December 16, 2015 13:19
-
-
Save leemour/5441097 to your computer and use it in GitHub Desktop.
For production, using RVM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if using ActiveAdmin | |
# Add activeadmin assets into precompiling by adding the following line into your config/environments/production.rb: | |
# config.assets.precompile += %w(active_admin.css active_admin/print.css active_admin.js) | |
rvmsudo RAILS_ENV=production bundle exec rake assets:precompile | |
sudo git add . | |
# config.serve_static_assets = true may be necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment