This is a BOSH release to install some tools on a windows stemcell for Ruby development.
It was driven out by the desire to use Concourse to CI the Nokogiri toolchain across multiple operating systems.
- Ruby 2.5 with optional DevKit
- Ruby 2.4 with optional DevKit
- Ruby 2.3 with optional DevKit
- unzip
- patch
- Git
- gpg
- a
prelude.ps1
file for all your powershell needs
- CMake
- msys2
This prelude file sets up some sound defaults for your powershell scripts:
- the powershell equivalent of bash's
set -eux
- set up output to not have ridiculously small linewraps
- a cmdlet,
system-cmd
that will do what you expect with a command string
You use it by putting this line at the top of your powershell scripts:
. "c:\var\vcap\packages\windows-ruby-dev-tools\prelude.ps1"
By default, Ruby 2.4 will be in your search path as ruby
or ruby.exe
, as will utilities like gem
.
You can choose a different version of Ruby by setting $env:WIN_RUBY_VERSION
to one of:
2.5
2.4
(default)2.3
You can opt into using DevKit by adding this line to your powershell script:
$env:RUBYOPT = "-rdevkit"
Check out https://github.com/flavorjones/concourse-gem if you'd like to integrate your concourse pipelines with the rubies in this release.
All the other executables are in your search path, so just go ahead and use unzip
and other utilities like you normally would.
High priority:
- ruby 2.5 with devkit
- ruby 2.4 with devkit
- ruby 2.3 with devkit
- document how to choose a ruby
- document how to opt into devkit
- update concourse-gem with windows-awareness
- install msys2 into a common directory (rather than into ruby directories)
- cmake
Lower priority:
- ruby 2.2 with devkit
- ruby 2.1 with devkit