|English: Ruby on Rails logo (Photo credit: Wikipedia)|
I had a problem when using Carrierwave on staging or production. The problem is about the image is not display on staging or production. Please follow me to fix that.
1. Go to config/environments/production.rb and config/environments/staging.rb
2. Change the config.serve_static_assets = false
into config.serve_static_assets = true
3. restart server production
Note: When always not show image.
1. Go to the app/uploaders/avatar_uploader.rb
2. Add line
3. resrart the server
I this article the help you. :)