Advertisement
Guest User

Untitled

a guest
Nov 24th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # Rails by default doesn't serve assets under public. See your production.rb:
  2.  
  3. config.serve_static_assets = false
  4. # Change that to true and you're good to go. (Note: you don't want that to be true in production, remember to change it back before deploying!)
  5.  
  6. # See Configuring Rails Applications for details.
  7.  
  8. ##############################################
  9. # Generate Precompile
  10. rake assets:precompile RAILS_ENV='production'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement