3 thoughts on “file_exist? for capistrano

    • Ok, found it, so for other newbies: add the method in lib/capistrano/filecheck.rb and in Capfile: Dir.glob(‘lib/capistrano/*.rb’).each { |r| import r }, and if it’s Cap v3 change run to execute. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s