Elliot Theis

  • Random
  • Archive
  • RSS
  • Ask me anything

Precompiling files for Rails production

By default Rails assumes that you have your files precompiled in the production environment. To precompile the files and to get better performance in production set config.assets.compile to false in production.rb and then precompile your assets. You can precompile with this rake task:

bundle exec rake assets:precompile

    • #ruby on rails
    • #rails3
    • #ruby
    • #web app
    • #tip
  • 8 months ago
  • 11
  • Permalink
  • Share
    Tweet

11 Notes/ Hide

  1. gemfury liked this
  2. elliottheis posted this
← Previous • Next →

Portrait/Logo

About

I'm an entrepreneur, consultant, and rails developer who is keen to make his mark in the world.

Pages

  • About Me
  • CrunchBase
  • LinkedIn

Me, Elsewhere

  • @elliottheis on Twitter
  • elliottheis on Foursquare
  • My Skype Info
  • Linkedin Profile

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr