-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, we were installing the ffi gem twice, but with different arguments, once in the base-rubygem component and again in the rubygem-ffi component. For example: /opt/puppetlabs/puppet/bin/gem install --no-document --local ffi-1.15.5.gem && \ /opt/puppetlabs/puppet/bin/gem install --no-document --local ffi-1.15.5.gem -- --enable-system-ffi Building native extensions. This could take a while... Successfully installed ffi-1.15.5 1 gem installed Building native extensions with: '--enable-system-ffi' This could take a while... Successfully installed ffi-1.15.5 1 gem installed Now we only execute the gem install command once. On Windows, we install ffi gems with precompiled binaries (so we don't need to specify enable/disable flags). On non-Windows, we continue to pass enable/disable based on the ruby version.
- Loading branch information
1 parent
c54c2a6
commit fc83ef8
Showing
1 changed file
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters