Skip to content

Conversation

@usernamenumber
Copy link
Contributor

@devalih: does this look sane? The idea is to make installing needed plugins and gathering credentials more intuitive.

@usernamenumber
Copy link
Contributor Author

Forgot to include details in the other PR about what's going wrong when I try to set up the plugin:

Attempting to install vagrant-aws fails saying it needs the nokigiri gem:

$ sudo vagrant plugin install vagrant-aws
Password:
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:

An error occurred while installing nokogiri (1.6.5), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.5'` succeeds before bundling.

The gem installs fine:

$ sudo gem install nokogiri -v '1.6.5' && sudo vagrant plugin install vagrant-aws
Fetching: nokogiri-1.6.5.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.6.5
Parsing documentation for nokogiri-1.6.5
Installing ri documentation for nokogiri-1.6.5
Done installing documentation for nokogiri after 4 seconds
1 gem installed

Oddly, there appear to be two versions installed, even if I do gem uninstall nokogiri first:

$ sudo gem list --local | grep nok
nokogiri (1.6.5, 1.5.6)

...and yet, if I re-run sudo vagrant plugin install vagrant-aws, it fails with the same message.

I'll keep messing around with it, but just in case there's an obvious cause that someone else can see...

@devalih
Copy link
Contributor

devalih commented Dec 23, 2014

The PR looks great, about the Bundler error, I think it's an issue with your local ruby env.

@usernamenumber usernamenumber force-pushed the master branch 2 times, most recently from 33861d2 to b0f7dd9 Compare January 29, 2015 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants