Another fun JRuby gotcha

Posted by Andrew Mon, 13 Dec 2010 07:58:46 GMT

Paperclip is a mainstay of any Rails application. The hell that was dealing with attachments in PHP was put to bed by this incredible gem/plugin. Alas, JRuby does not love paperclip the way I do. So, if you're getting

Errno::EACCES: Permission denied - Permission denied - /tmp/foo or /foo

Then you need to monkey patch FileUtils ala:

Comments are disabled