Skip to content
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

bundler 1.14.6 -> 1.16.1 #37611

Closed
wants to merge 3 commits into from
Closed

Conversation

polynomial
Copy link
Contributor

@polynomial polynomial commented Mar 22, 2018

Motivation for this change

I was trying to use vagrant plugin install vagrant-aws which was failing with:

Installing the 'vagrant-aws' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

conflicting dependencies bundler (= 1.14.6) and bundler (= 1.16.1)
  Activated bundler-1.16.1
  which does not match conflicting dependency (= 1.14.6)

  Conflicting dependency chains:
    bundler (= 1.16.1), 1.16.1 activated

  versus:
    bundler (= 1.14.6)

  Gems matching bundler (= 1.14.6):
    bundler-1.14.6
Things done

I used bundix to create a new gemset.nix and then updated the version of bundler to match what I think ruby expects:

$ git clone git@github.com:hashicorp/vagrant.git
$ cd vagrant
$ bundix -l
$ cp gemset.nix /path/to/nixpkgs/pkgs/development/tools/vagrant
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@xeji
Copy link
Contributor

xeji commented Mar 22, 2018

duplicate of #30881 , see comments there

@polynomial
Copy link
Contributor Author

Thanks @xeji

@Mic92
Copy link
Member

Mic92 commented Mar 22, 2018

For all the pure souls who have to use vagrant, the following workaround for vagrant: #36880 is a short term solution.

@Mic92
Copy link
Member

Mic92 commented Apr 26, 2018

I think we can upgrade bundler now, since gitlab was fixed: 94f5e5a

@Mic92 Mic92 mentioned this pull request Apr 26, 2018
8 tasks
@Mic92
Copy link
Member

Mic92 commented Apr 27, 2018

part of #39597

@Mic92 Mic92 closed this Apr 27, 2018
@sergeykranga sergeykranga deleted the gemset_vagrant branch November 14, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants