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

Add ruby-dev to be installed whilst provisioning process. #442

Merged
merged 2 commits into from
Dec 8, 2015

Conversation

zylad
Copy link
Contributor

@zylad zylad commented Nov 2, 2015

At the moment puppet is failing while trying to install `sensu-plugin' gem on both server and client with the following error:

==> sensu-client: Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri sensu-plugin' returned 1: Building native extensions.  This could take a while...
==> sensu-client: ERROR:  Error installing sensu-plugin:
==> sensu-client:   ERROR: Failed to build gem native extension.
==> sensu-client:
==> sensu-client:         /usr/bin/ruby1.9.1 extconf.rb
==> sensu-client: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
==> sensu-client:   from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
==> sensu-client:   from extconf.rb:1:in `<main>'
==> sensu-client:
==> sensu-client:
==> sensu-client: Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-1.8.3 for inspection.
==> sensu-client: Results logged to /var/lib/gems/1.9.1/gems/json-1.8.3/ext/json/ext/generator/gem_make.out
==> sensu-client: Error: /Stage[main]/Sensu::Package/Package[sensu-plugin]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --no-rdoc --no-ri sensu-plugin' returned 1: Building native extensions.  This could take a while...

This PR should solve it.

jlambert121 added a commit that referenced this pull request Dec 8, 2015
Add ruby-dev to be installed whilst provisioning process.
@jlambert121 jlambert121 merged commit 1d464c0 into sensu:master Dec 8, 2015
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