Make sure you run it twice – once with sudo and once without – for it to work properly.
$sudo gem install heroku
$gem install heroku
Make sure you run it twice – once with sudo and once without – for it to work properly.
$sudo gem install heroku
$gem install heroku
With RVM, always omit the sudo, not needed and can make things a little screwy.
Ah…. Good to know!
class AvatarUploader < CarrierWave::Uploader::Base
def cache_dir
"#{Rails.root}/tmp/uploads"
end
end
Does this work by setting the cache_dir in your Uploader classes to the tmp directory.
RVM is a useful tool for managing developments and making sure that development and test environments match the environment on Heroku’s platform.