I've installed carrierwave gem with rmagick.
I can get it working fine if load thro WEBrick but getting 500 Internal Server Error when trying to use nginx instead.
The nginx error.log says:
2011/08/14 10:06:40 [crit] 760#0: *4247 open() "/usr/local/Cellar/nginx/1.0.4/client_body_temp/0000000033" failed (13: Permission denied), client: 127.0.0.1, server: jewellery.dev, request: "POST /items/28?locale=en HTTP/1.1", host: "jewellery.dev:8080", referrer: "http://jewellery.dev:8080/items/28/edit?locale=en"
Also I've created an file on initializers folder containing:
CarrierWave.configure do |config|
config.permissions = 0777
end
Am I missing something?