change deprecated RAILS_ROOT to Rails.root in paperclip.rb initializer