Skip to content

Instantly share code, notes, and snippets.

@franciscoj
Created December 9, 2010 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franciscoj/734642 to your computer and use it in GitHub Desktop.
Save franciscoj/734642 to your computer and use it in GitHub Desktop.
Code needed in the rails Rakefile to load the paperclip rake tasks
#Newest versions
import File.expand_path(File.join(Gem.datadir('paperclip'), '..', '..', 'lib', 'tasks', 'paperclip.rake'))
# Versions older than 2.3.2
import File.expand_path(File.join(Gem.datadir('paperclip'), '..', '..', 'tasks', 'paperclip_tasks.rake'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment