Search code examples
ruby-on-railscapistrano

Capistrano current application path


While deploying with Capistrano 3 I need to get the current local application path from a task, does Capistrano provides any static variable containing this information?


Solution

  • Solved using the current working directory Dir.pwd