Update app/models/avatar.rb

to make file writable and executable and such