0

I tried to deploy my Rails app, but I have some troubles because I have some folders in my repo git:

  • Server
    • API (my rails app)
    • Test
  • Hardware

How can I tell Capistrano that my rails app isn't in the / but is in /Server/API of the git folder?

2 Answers 2

1

I got solution from following code, you can try it.

set :application, 'app_name'
set :repo_url, 'repo_url'
set :deploy_to, 'folder_name'
set :repo_tree, "app_name" (THIS line)
0

I find the solution:

set :repo_tree, 'relative/path/from/your/repo'

Not the answer you're looking for? Browse other questions tagged or ask your own question.