From 2d58c953e16441867890703636e88990853296a7 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Tue, 25 Dec 2018 11:29:03 -0700 Subject: [PATCH] Updated to Ruby 2.6.0. [Changes](https://is.gd/MuTHWG). --- .ruby-version | 2 +- circle.yml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index aedc15b..e70b452 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.3 +2.6.0 diff --git a/circle.yml b/circle.yml index 4aaf4b0..c709b86 100644 --- a/circle.yml +++ b/circle.yml @@ -12,6 +12,29 @@ jobs: steps: - checkout + - type: cache-restore + name: Ruby Restore + key: ruby + + - run: + name: Ruby Install + command: | + curl https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.tar.bz2 -o ../ruby-2.6.0.tar.gz + cd .. + tar --extract --bzip2 --verbose --file ruby-2.6.0.tar.gz + cd ruby-2.6.0 + ./configure + make + make update-gems + make extract-gems + sudo make install + + - type: cache-save + name: Ruby Store + key: ruby + paths: + - ../ruby-2.6.0 + - type: cache-restore name: Bundler Cache Restore key: bundle-{{ checksum "Gemfile" }}