Reputation: 67928
I just added a new Rails app on my server (Phusion Passenger with Apache), but the assets/rails.png is not found. Could someone explain why this would happen for a new app? and how can I fix it and prevent it in the future new apps?
Upvotes: 0
Views: 288
Reputation: 9623
Try running webrick on your dev machine with
rails s -e production
or check the log on the server to see what error you get. Most likely you haven't compiled the assets with:
rake assets:precompile
that will give you a no route error on images. See this page for asset pipeline details.
Upvotes: 1