views:

8

answers:

0

I have a rails2 plugin which has a capistrano task. That file resides at ~/myplugin/recipes/ . I am converting this plugin into a gem which should work with rails3. This is what I did.

I created recipes file inside the lib/myplugin directory. So my file looks like

 ~/dev/myplugin/lib/myplugin/recipe.rb

And added following line to my deploy.rb

require 'myplugin/recipe'

However capistrano is failing with message: no such file to load -- myplugin/recipe.