-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Conversation
I believe this is actually caused by rubygems/rubygems@620910a. |
The package object already caches the spec object, so we don't need to do it multiple times. Also introduce a consturctor for in-memory installations so that we can rm the `spec` setter method
@digitalextremist this PR doesn't seem to fix things, please take a look at the test failures? |
@segiddins seeing the test failures, but at first glance it seems like it's failing on tests not anticipating @tenderlove's changes to rubygems. Looking further. |
@segiddins the give-away that this is more about how an instance variable is referenced versus whether caching is being done, for me, is that this is |
well, does adding an
|
I pulled my comment from @tenderlove's commit since it was out of the context of that commit, and I'm looking through rubygems right now to attempt putting |
I have basically no idea what is even going on here. What is broken, and under what circumstances? What is this patch supposed to fix, and why does the change make the tests fail? |
This is fixed by f4481a7. |
To fix issues with TravisCI. c.p. rubygems/bundler#3559
Install bundler explicitly to avoid rubygems/bundler#3559 Also test on newer versions of ruby
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Upgrade Bundler to fix ye olde rubygems/bundler#3559 * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Switch to Travis container builds for newer Bundler * Fixes ye olde rubygems/bundler#3559 * Allows us to use Bundler caching for faster builds * No longer needs sudo to manage packages * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2
…having an outdated version of bundler on travis. See rubygems/bundler#3559
Builds are hitting this issue rubygems/bundler#3559 Example https://travis-ci.org/schneems/get_process_mem/jobs/134455148 ``` Bundler version 1.7.6 $ gem --version 2.5.1 11.90s$ bundle install --jobs=3 --retry=3 Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Installing sys-proctable 1.0.0 Installing rake 10.5.0 Using bundler 1.7.6 NoMethodError: undefined method `spec' for nil:NilClass Installing power_assert 0.3.0 An error occurred while installing get_process_mem (0.2.1), and Bundler cannot continue. Make sure that `gem install get_process_mem -v '0.2.1'` succeeds before ```
fixes Travis build failing by updating Bundler see travis-ci/travis-ci#5239 and rubygems/bundler#3559
fixes Travis build failing by updating Bundler see travis-ci/travis-ci#5239 and rubygems/bundler#3559
ruby-head
seems to be more strict about how instance variables are referenced, at the moment.