devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 146 forks source link

Can't install plugin during development #201

Closed austinlparker closed 8 years ago

austinlparker commented 8 years ago

I'm still pretty novice at Ruby and its build + packaging vagrancies, but I'm getting the following error when trying to install a locally built version of the plugin.

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-hostmanager (= 1.8.2)' in any of the gem sources listed in your Gemfile or available on this machine.

Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.

I'm able to successfully bundle install and so forth with no issues, and I've tried deleting the vagrant-hostmanager plugin already installed with no dice.

austinlparker commented 8 years ago

I must have had something stuck in a path or environment variable because completely exiting and reloading my terminal resolved this.