This commit is contained in:
Dmitry Shibanov
2020-01-21 14:31:42 +03:00
parent 141ec88dc2
commit 6e5f1bff20
2 changed files with 6 additions and 1 deletions

View File

@@ -11,4 +11,7 @@ sudo apt-get install ruby-full
sudo gem update --system sudo gem update --system
# Install Ruby requirements # Install Ruby requirements
apt-get install -y libz-dev openssl libssl-dev apt-get install -y libz-dev openssl libssl-dev
DocumentInstalledItem "ruby ($(ruby --version 2>&1 | cut -d ' ' -f 2))"
DocumentInstalledItem "gem ($(gem -v 2>&1 | tail -n 1))"

View File

@@ -40,6 +40,7 @@ else
$rubyExeOnPath = (Get-Command -Name 'ruby').Path $rubyExeOnPath = (Get-Command -Name 'ruby').Path
$rubyBinOnPath = Split-Path -Path $rubyExeOnPath $rubyBinOnPath = Split-Path -Path $rubyExeOnPath
$rubyVersionOnPath = Get-RubyVersion -rubyRootPath $rubyBinOnPath $rubyVersionOnPath = Get-RubyVersion -rubyRootPath $rubyBinOnPath
$gemVersion = & gem -v
# Add details of available versions in Markdown # Add details of available versions in Markdown
$SoftwareName = "Ruby (x64)" $SoftwareName = "Ruby (x64)"
@@ -48,6 +49,7 @@ $Description = @"
_Environment:_ _Environment:_
* Location: $rubyBinOnPath * Location: $rubyBinOnPath
* PATH: contains the location of ruby.exe version $rubyVersionOnPath * PATH: contains the location of ruby.exe version $rubyVersionOnPath
* Gem Version: $gemVersion
"@ "@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description