jnicklas/carrierwave — Issue #495: rescue in Carrierwave::Uploader::Store#delete_cache_id misses SystemCallError on jruby-1.6.4
Author: tatyree
Created: 2011-10-18 14:49:22+00:00
State: open

From a debugged session:

Catchpoint at /.rvm/gems/jruby-1.6.4@groups/gems/carrierwave-0.5.7/lib/carrierwave/uploader/store.rb:75: `Unknown error - No such directory' (SystemCallError)

Monkey patching Carrierwave::Uploader::Store#delete_cache_id and adding `rescue SystemCallError` to the list of rescued errors fixes the problem.