Skip to content

Instantly share code, notes, and snippets.

@leemour
Last active December 16, 2015 13:19
Show Gist options
  • Save leemour/5441097 to your computer and use it in GitHub Desktop.
Save leemour/5441097 to your computer and use it in GitHub Desktop.
For production, using RVM
# 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