My directory structure is as follows:
application/
tmp/
rails_code/Capfile
rails_code/config/deploy.rb
rails_code/Gemfile
rails_code/Gemfile.lock
non_rails_code/
I use capistrano to deploy the application code, but when I start deploying the cap, then it cannot install gems using bundler because it expects Gemfile.lock to be in the application directory, whereas it is actually in the application / rails _code .
How can I indicate the correct location of the gemfile?
source
share