-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 version restriction bundler (< 1.8.0, >= 1.5.2) ruby #5581
Comments
+1 |
Hi @saifikhan I am sorry you are having issues. The recommended way to use Vagrant is via the official package installers. The reason for this restriction is because Vagrant relies on some internal APIs in Bundler core that are not guaranteed to be backwards-compatible between minor version bumps (because they are internal APIs). Plugins in the Vagrant eco-system also leverage those APIs. There is an open PR to upgrade to Bundler 1.8, but we have not had time to rigorously test the upgrade yet. Please let me know if you have any questions. |
@sethvargo, Yes, but if you are developing plugins, you really need to run vagrant in bundler, unless I missed something. |
@gildas correct, you will need bundler and the Vagrant source. You need to install a version of bundler that matches the constraints for Vagrant:
|
which is what I did. I was just saying, it's kinda annoying to do... a little... |
make sure you specify the patch version to stay within the bounds of the minor version:
|
Tried running it with bundler 1.7.15 on ruby 2.2.1 but got this stacktrace. Guess there is a ruby / gems 2.2 incompatibility as well?
|
Fixed in master |
Vagrant relies on some internal APIs in Bundler core. The command of `bundle exec itamae ssh --vagrant` will conflict with Vagrant APIs. Using `Bundler.with_clean_env` is necessary when using itamae with bundler. * ref: * itamae-kitchen#185 * hashicorp/vagrant#5581 (comment)
Hi:
bundler install leads to bundler (< 1.8.0, >= 1.5.2) version restriction.
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
vagrant (>= 0) ruby depends on
bundler (< 1.8.0, >= 1.5.2) ruby
Current Bundler version:
bundler (1.9.2)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running
gem install bundler
?Could not find gem 'bundler (< 1.8.0, >= 1.5.2) ruby', which is required by gem 'vagrant (>= 0) ruby', in any of the sources.
What is the logic behind this restriction ?
The text was updated successfully, but these errors were encountered: