You can vendor the gem too.

On Aug 9, 9:44 am, Bradley <[email protected]> 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 <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to