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

vagrant plugin install failure using local gem #7493

Closed
lawrenceong opened this issue Jun 20, 2016 · 2 comments · Fixed by #7505
Closed

vagrant plugin install failure using local gem #7493

lawrenceong opened this issue Jun 20, 2016 · 2 comments · Fixed by #7505
Milestone

Comments

@lawrenceong
Copy link

Vagrant version

1.8.4

Host operating system

Ubuntu 16.04

Debug output

https://gist.github.com/lawrenceong/a587ccf77fdaa51edc573979391977a1

Expected behavior

The plugin installs without any issue.

Actual behavior

We get a bundler error when attempting to install the local plugin. Install works in Vagrant 1.8.1. Installing a remote plugin works without any issue.

Steps to reproduce

  1. Install Vagrant 1.8.4
  2. curl -O -L https://rubygems.org/downloads/vagrant-google-0.2.4.gem
  3. vagrant plugin install ./vagrant-google-0.2.4.gem
@sethvargo sethvargo added this to the 1.8.5 milestone Jun 20, 2016
@vdloo
Copy link
Contributor

vdloo commented Jun 20, 2016

I am experiencing the same issue. After upgrading to 1.8.4 'vagrant plugin install' can no longer install from local .gem files. Tested on OS X Yosemite and Ubuntu 16.04.

$ vagrant plugin install vagrant-hypconfigmgmt-0.0.1.gem 
Installing the 'vagrant-hypconfigmgmt-0.0.1.gem' 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:

Could not find gem 'vagrant-hypconfigmgmt (= 0.0.1)' in any of the gem sources listed in your Gemfile or available on this machine.

Tested with a random other vagrant plugin as well

$ vagrant plugin install pkg/vagrant-sshfs-1.1.0.gem 
Installing the 'pkg/vagrant-sshfs-1.1.0.gem' 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:

Could not find gem 'vagrant-sshfs (= 1.1.0)' in any of the gem sources listed in your Gemfile or available on this machine.

@brgnepal
Copy link

I had the similar issue with installing local gem in 1.8.4. Thanks for fixing again in 1.8.5.

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants