Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Won't Fix
-
None
-
None
-
Agent
Description
Puppet's embedded rubygems binary is currently 2.2.5, and the latest rubygems release is 2.5.2.
This causes a problem for me while trying to install a gem dependency. In rubygems 2.2.x releases, there's a bug where pre-compiled gems are not properly fetched. This causes my node to fail in building the native extensions of the gem. Upgrading to rubygems 2.5.2 fixes the issue since the pre-compiled gem is properly fetched and the building of native extensions is skipped.
Failed attempt to install gem dependency:
bash-4.2# /opt/puppetlabs/puppet/bin/gem --version |
2.2.5 |
bash-4.2# /opt/puppetlabs/puppet/bin/gem install grpc |
Fetching: google-protobuf-3.0.0.alpha.5.0.3-x86_64-linux.gem (100%) |
Successfully installed google-protobuf-3.0.0.alpha.5.0.3-x86_64-linux |
[snip]
|
Fetching: grpc-0.13.0.gem (100%) |
Building native extensions. This could take a while... |
ERROR: Error installing grpc:
|
ERROR: Failed to build gem native extension. |
Successful gem installation after upgrading rubygems:
bash-4.2# /opt/puppetlabs/puppet/bin/gem --version |
2.5.2 |
bash-4.2# /opt/puppetlabs/puppet/bin/gem install grpc |
Fetching: grpc-0.13.0-x86_64-linux.gem (100%) |
Successfully installed grpc-0.13.0-x86_64-linux |
Parsing documentation for grpc-0.13.0-x86_64-linux |
Installing ri documentation for grpc-0.13.0-x86_64-linux |
Done installing documentation for grpc after 2 seconds |
1 gem installed |
Attachments
Issue Links
- relates to
-
PA-476 Update puppet-agent to use Ruby 2.4
-
- Closed
-