I am working on a Rails application with the Paperclip gem used to save user avatars. Production Environment, FreeBSD, Apache, MySQL.
When saving a user profile with the specified avatar file, errors related to permission appear.
I installed 777 for all Paperclip directories - this did not help.
Please, help!
Thanks!
configurations / environment / production.rb
Paperclip.options[:command_path] = '/usr/local/bin'
application / models / user.rb
has_attached_file :avatar, :styles => { :medium => "300x180>", :thumb => "40x40>" }
source share