Reputation: 2856
I generate a new rails application, and run it in production, but the assets path generate incorrect. Please notice the follow picture.
And even though set config.assets.prefix = '/assets'
not work too
I am using rails 4.2.4 and there is the demo project on github
Upvotes: 0
Views: 49
Reputation: 71
You need to execute RAILS_ENV=production rake assets:precompile
manually if the config.assets.compile
is set to false.
Upvotes: 1