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 keypair. It would be an interesting patch, though. Currently, I just script/plugin install --force my private plugin from Github every time I update it, which I hate. - David On Mon, Aug 9, 2010 at 11:55 AM, Andrew C. <andrew.c...@gmail.com> wrote: > You can vendor the gem too. > > On Aug 9, 9:44 am, Bradley <bradleyrobert...@gmail.com> wrote: > > Ya I'm just wondering the best way to reference this gem. For > > instance, the gem location will be different on my local machine > > during dev as on my CI machine during build/deploy. > > > > I'm using github and I've noticed that Bundler can use :git as a > > source, I assuming Heroku's deploy does this the Gem bundling locally > > before pushing, so maybe my best bet is to use that repo as the source > > and as long as my CI server has access to that private github repo, > > all should be gravy? > > > > On Aug 8, 9:34 pm, Michishige Kaito <chris.webs...@gmail.com> wrote: > > > > > > > > > El 08/08/10 22:23, Bradley escribi : > > > > > > 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 > > > > installing this gem and pushing. > > > > > > I'm a bit confused as to how I might do this. Do I want to bundle > > > > package? Will heroku then install the gem from vendor > > > > automatically? > > > > > > How do I have environment specific dependencies that work with > > > > Heroku? For instance while in development, i want to use my local > > > > gem, but in Hudson I want to package the locally built gem from > > > > hudson, then push my app to heroku. > > > > > > I don't want these gems available publicly which is why I'm looking > > > > for a good way to package the gem for my Heroku app to be able to use > > > > it appropriately. > > > > > > Doe this make sense? Any suggestions/help is greatly appreciate. > > > > > > **setup** > > > > Hudson 1.368 > > > > Git 1.5.6.5 > > > > Bundler 1.0.0RC2 > > > > Heroku Stack bamboo-mri-1.9.1 > > > > Rails 2.3.8 > > > > > If you're using bundler, you can just push the gem file along with the > > > rest of your app. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.