-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gem install GEM --development loops endlessly #372
Comments
I don't see a loop in your output, what is looping? |
I'm betting it's not looping but rather installing the dev deps. Looking at it here there are A LOT of gems that get pulled in. |
Marshal 4.8 checks seem to be looping. More examples that heat up my 4-core machine: # After about a minute, I have to Control-C these
$ gem install bundler --development --debug
$ gem install bahia --development --debug
# However if I excplitly install all the runtime and development dependencies of the above gems
# I can do it in under 10s
$ gem install bundler ronn rspec
$ gem install bahia rspec open4 Shouldn't the --dev flag only be pulling in runtime and development dependencies of a given gem? Perhaps this is recursively looking into each development dependency's development dependencies? The only gem that I found to install with this flag is one without any dependencies - connection_pool |
Please run |
$ gem install bundler --development -V > bunder.output
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: em-spec requires test-unit (>= 0); hoe-gemspec requires hoe (>= 2.2.0); hoe-git requires hoe (>= 2.2.0); hoe-bundler requires hoe (>= 2.2.0); sdoc-helpers requires sdoc (~> 0.2); test-unit-rr requires test-unit (>= 2.1.2), rr (>= 1.0.2); test-unit-notify requires test-unit (>= 2.1.2); hoe-highline requires hoe (~> 2.8); actionpack requires i18n (~> 0.5.0), rack (~> 1.2.5), rack-test (~> 0.5.7), erubis (~> 2.6.6); activemodel requires i18n (~> 0.5.0); bourne requires mocha (= 0.10.5); gem_hadar requires sdoc (~> 0.2.20) bundler.output is at https://gist.github.com/d9cee0aab3e78ddf8f52 |
I cannot reproduce. An EAGAIN exception is not an indication anything is stuck in a loop. You may see this often on slow networks, though. It seems there is a bug in the dependencies of datomic-client though:
Please reopen if you can demonstrate a loop. |
@drbrain Did you try bundler on 1.9.3? If it works for you, including the output would be helpful. 5 minutes for --development installing doesn't seem like just slow networks. |
Using --development on install seems to loop endlessly and eventually maxes out the CPU
My gem env:
Would be great if this still worked. No need to for
bundle install
in gem development if --dev works.The text was updated successfully, but these errors were encountered: