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

script to aid aws setup #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

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.

2 participants