Cirrus: Use Homebrew Ruby to install `ronn`
@@ -130,8 +130,9 @@ mac_task:
brew install python || brew upgrade python
- | # Install Python packages
pip install cmake-format[yaml]==0.5.4
- - | # Install Ruby
+ - | # Install Ruby (We use the Homebrew version of Ruby to install gems, since compiling `ronn` fails with the macOs version of Ruby.)
brew install ruby@2.5
+ export PATH="/usr/local/opt/ruby@2.5/bin:/usr/local/lib/ruby/gems/2.5.0/bin:$PATH"
- | # Install Ruby gems
gem install ronn test-unit --user-install --no-document
