recap icon indicating copy to clipboard operation
recap copied to clipboard

the bundle install step fails for Gemfiles with Git deps, even though its the same a/c as app

Open fidothe opened this issue 11 years ago • 2 comments

So, my app has a private Github repo gem dependency. The app is also a private Github repo (the same account). Agent forwarding works fine for cloning the app, but (I'm guessing) the su - app-user launch of the bundle install step means that the connection to the SSH agent is gone. Anyway, the end result is that bundler can't auth and cap deploy:setup fails...

fidothe avatar Jul 25 '13 07:07 fidothe

Hey Matt, sorry I hadn't noticed this issue - I need to get my github notifications sorted out. This sounds like it's going to be a pain to fix, but I'll have a think about it. I guess that if the deploying user can clone the code, they might be able to install the bundle too.

tomafro avatar Aug 08 '13 09:08 tomafro

Just browsing past this - you could try the approach outlined here http://serverfault.com/questions/107187/sudo-su-username-while-keeping-ssh-key-forwarding

jeremyolliver avatar Oct 11 '13 02:10 jeremyolliver