support capistrano 2 and 3