SyntaxFix
Write A Post
Hire A Developer
Questions
rails s -e production
This will run the server with RAILS_ENV = 'production'.
RAILS_ENV
'production'
Apart from this you have to set the assets path in production.rb
production.rb
config.serve_static_assets = true
Without this your assets will not be loaded.