Reputation: 21795
I am using watermark with paperclip as a guide to add a watermark to my images.
In other post, I read I could use
rake paperclip:refresh Model RAILS_ENV=production
I am trying in development environment:
rake paperclip:refresh Model
And I am having this error
rake aborted!
Must specify CLASS
I tried with both of my classes Image and the one that is linked with Image.
Upvotes: 2
Views: 463
Reputation: 1812
Just do this if you are in POSIX
export CLASS=Model
export STYLES=style1,style2
rake paperclip:refresh:thumbnails
Upvotes: 3