jnicklas/carrierwave — Issue #648: Configuration of test, staging, cucumber env does not follow rails conventions
Author: jairodiaz
Created: 2012-03-07 13:31:01+00:00
State: open

The file config/initializers/carrierwave.rb configures the rail environments.
These should be correctly done in environment/<>.rb

This causes the problem where carrierwaver processing (for RMagic) is turned off and the developer does not what is happening.

I had the problem of the system working well on development, but when using capistrano, the same system did not work in staging on a different server. After several hours, the problem was that carrierwave was configuring the environment in this unexpected place (initializers/carrierwave). I believe this problem would have been solved earlier if the initialization had happened in the right file. I see a few threads with this problem online but without solution.