67219a1340
* 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. |
||
---|---|---|
.. | ||
spack |