(1 votes, average: 1.00 out of 5)
Loading...
Preparing Solaris 11 for Chef, especially Chef Kitchen(Ruby Gem’s)
For Solaris 11 to be able to run / use Chef Kitchen, you might need to follow the below installation perpetrations.
Note: The notes below extend the article – Using chef kitchen docker build behind corporate proxy firewall
pkg install ruby Packages to install: 2 Mediators to change: 1 Create boot environment: No Create backup boot environment: No DOWNLOAD PKGS FILES XFER (MB) SPEED Completed 2/2 14659/14659 14.5/14.5 362k/s PHASE ITEMS Installing new actions 14737/14737 Updating package state database Done Updating package cache 0/0 Updating image state Done Creating fast lookup database Done Updating package cache 2/2To get the Solaris 11 ruby up-to-date, you need to run the below.
gem update --systemNote: If you get the below error, you will have to manually update the system described below.
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)Manually updating the ruby system.
wget https://rubygems.org/downloads/rubygems-update-2.6.7.gem ... gem install --local /tmp/rubygems-update-2.6.7.gem ... /usr/ruby/2.1/bin/update_rubygems RubyGems 2.6.7 installed Parsing documentation for rubygems-2.6.7 Installing ri documentation for rubygems-2.6.7 === 2.6.7 / 2016-09-26 [..] snipFinally, install bundler. to install, just run the below.
gem install bundler # or gem install bundler -s http://rubygems.org/ gem install test-kitchen Fetching: mixlib-shellout-2.2.7.gem (100%) Successfully installed mixlib-shellout-2.2.7 [..] snipNote: In solaris add this to your system PATH, in Linux its usually not necessary.
/usr/ruby/2.1/bin
0
0
votes
Article Rating