diff options
author | Geoffrey Oxberry <goxberry@gmail.com> | 2018-01-15 07:00:07 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-01-15 09:00:07 -0600 |
commit | 67219a1340f96c7cb1a80bee040abc33f7e72c37 (patch) | |
tree | 1c8c1f7b74c2540cb454dc449242038ab64ae570 /CODE_OF_CONDUCT.md | |
parent | 6093d6df7d3e8828d303e59691d1a8607afdd994 (diff) | |
download | spack-67219a1340f96c7cb1a80bee040abc33f7e72c37.tar.gz spack-67219a1340f96c7cb1a80bee040abc33f7e72c37.tar.bz2 spack-67219a1340f96c7cb1a80bee040abc33f7e72c37.tar.xz spack-67219a1340f96c7cb1a80bee040abc33f7e72c37.zip |
ruby: fix +openssl & +readline variants (#6935)
* ruby: fix +openssl & +readline variants
Fix "unqualified variable spec['openssl']" error in the ruby package
that arises when trying to install the `+openssl` variant by
referencing the `spec` field in the `Ruby` class. A similar error
arises when trying to install the `+readline` variant; this error is
also fixed by this patch.
* ruby: make +openssl variant default to on
Ruby's gem command will fetch gems from HTTPS resources by default
(e.g., gem install bundler). Without openssl, request to fetch gems
bounce back with the error
```
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
```
Without the ability to install gems -- required for some spack
packages -- the ruby installation has limited utility for many users.
* ruby: update rubygems ssl cert to fix ssl errors
The SSL certificate bundled with Ruby 2.2.0 is outdated, so e.g., `gem
install erubis` will fail with an SSL certificate error. This commit
installs the updated SSL certificate to the proper directory so that
gems can be downloaded and installed from RubyGems.
Diffstat (limited to 'CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions