You can package it into a gem then require it from your capfile or deploy.rb. A good example that I've used and hacked on is the railsmachine gem.
http://github.com/railsmachine/railsmachine On Tue, Feb 2, 2010 at 5:33 PM, Eric Marden <[email protected]> wrote: > I have a number of namespaced, custom tasks written that I would like > to share between a number of applications, but am unsure of the best > way to access this library from within capistrano. Do I have to > package it as a gem, or can I store it else where on my system and > load it from my Capfile? > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > -- Ryan Carmelo Briones -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
