about the docs of bundle install --local #1707

Closed
fxn opened this Issue Mar 8, 2012 · 8 comments

Projects

None yet

4 participants

@fxn
Collaborator
fxn commented Mar 8, 2012

The documentation of bundle install --local says

Do not attempt to connect to rubygems.org, instead using just the gems located in vendor/cache.

First, in my machine that command succeeds without vendor/cache, it sees dependencies are met from system gems.

Second, does --local exclude rubygems.org? or any source?

@radar
Collaborator
radar commented Mar 8, 2012

afaik, it excludes any remote source and will try to resolve the dependencies using the gems that are currently on your system.

@indirect
Member
indirect commented Mar 8, 2012

Bad wording, I think. It excludes network sources, so anything declared via "source" in your Gemfile. It includes vendor/cache and system gems. It also includes fetching git repos, but I think that's a bug we should fix.

On Mar 8, 2012, at 5:47 AM, Xavier Noriareply@reply.github.com wrote:

The documentation of bundle install --local says

Do not attempt to connect to rubygems.org, instead using just the gems located in vendor/cache.

First, in my machine that command succeeds without vendor/cache, it sees dependencies are met from system gems.

Second, does --local exclude rubygems.org? or any source?


Reply to this email directly or view it on GitHub:
#1707

@fxn
Collaborator
fxn commented Mar 8, 2012

Awesome André, I'll prepare a pull request.

@rohit
Collaborator
rohit commented Nov 30, 2012

Should a separate issue be opened for --local option not being observe by git dependencies?

@indirect
Member
indirect commented Dec 8, 2012

Pretty sure Dr. Nic already opened an issue for that, but yes, there should be one.

@rohit
Collaborator
rohit commented Jan 18, 2013

At present local docs read as follows https://github.com/carlhuda/bundler/blob/master/man/bundle-install.ronn#L58-L59

Do not attempt to connect to `rubygems.org`, instead using just
the gems already present in Rubygems' cache or in `vendor/cache`.

Does Rubygems cache include system gems? Or should system gems be mentioned separately?

@indirect
Member

"Rubygems' cache" is the system cache

On Jan 18, 2013, at 1:36 AM, Rohit Arondekar notifications@github.com wrote:

At present local docs read as follows https://github.com/carlhuda/bundler/blob/master/man/bundle-install.ronn#L58-L59

Do not attempt to connect to rubygems.org, instead using just
the gems already present in Rubygems' cache or in vendor/cache.
Does Rubygems cache include system gems? Or should system gems be mentioned separately?


Reply to this email directly or view it on GitHub.

@rohit
Collaborator
rohit commented Jan 19, 2013

So this issue can be closed. I've opened #2259 for Git deps not obeying --local.

@rohit rohit closed this Jan 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment