Re: Workflow to allow heroku to install a 'private' (local) gem on deploy

2010-08-09 Thread Richard Conroy
On Sun, Aug 8, 2010 at 10:23 PM, Bradley bradleyrobert...@gmail.com wrote: I'm writing a new app that uses a custom gem not publicly available on gemcutter, or anywhere for that matter. I'm building both the app and gem with Hudson CI, then I'd like the app pushed to heroku by somehow

Re: custom post_commit hook?

2010-08-09 Thread marcel
We don't use capistrano, but I guess I could accomplish the same thing by writing a simple rake task to first push to heroku, then call some heroku rake tasks. On Aug 5, 2:20 pm, David Balatero dbalat...@gmail.com wrote: I set my cap deploy to do a git push heroku master, then deploy to my

Re: Workflow to allow heroku to install a 'private' (local) gem on deploy

2010-08-09 Thread David Balatero
If you could package a custom SSH pub/private keypair with your Gemfile, you could then: 1) Add that pub key to Github 2) Set the :git source in the Gemfile for your private gem to point at your private SSH Github URL. However, I don't believe Bundler supports having an embedded public/private

Re: Workflow to allow heroku to install a 'private' (local) gem on deploy

2010-08-09 Thread Bradley
Well my CI server already has access to the github repo (added its key to github) in order to build my apps/gems, so presumably I should just be able to use the git source as normal, and when I do the heroku push, I'm assuming it's this CI user that will be doing the bundling before pushing to