On Wed, Oct 14, 2009 at 10:53 PM, Pavel Kunc <[email protected]> wrote:
>
> You can use bunlder :git or :vendored_at directives to load the code
> from your git clones. However it has some quirks like you need to have
> gemspecs for the each gem etc... but it could work. and than you can
> make gem bundle --update or what's the option.
>
> sounds buggy...
> Also if you delete any gems/gems/gemname and do gem bundle it will
> check for then new versions.
>
> rm -Rf ../merb_project/gems/* (remove all the gems and everything, probably
could restrict to just to merb ones...)
mkdir ../merb_project/gems/cache (i missed this out - recreate the cache
dir)
find . -name *.gem -type f -exec cp {} ../merb_project/gems/cache \; (this
finds all the gem files and copies them to the gems/cache)
> I use manually gem bundle --cache /path/to/the/gem to update the gems
> I need to upgrade.
>
looks like the way I'm doing it by copy the files to the cache dir covers
this.
thanks Pavel,
Nick
> Pavel
>
> On Oct 14, 2:01 am, Nicholas Orr <[email protected]> wrote:
> > Is this the way to: update a project | keep a project upto date; with the
> > github repo?seems to work...
> >
> > I have a bundled app (merb_project)
> >
> > get the git repo git://github.com/wycats/merb.git
> > rake build_gems
> > rm -Rf ../merb_project/gems/*
> > find . -name *.gem -type f -exec cp {} ../merb_project/gems/cache \;
> > cd ../merb_project
> > gem bundle
> >
> > Cheers,
> >
> > Nick
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---