From 2d1a59934002c00f4784bec684195abbdceb4a34 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 24 Feb 2021 22:06:10 -0800 Subject: [PATCH] Specify ruby version in Gemfile in a way that works for Heroku + Travis --- Gemfile | 2 +- Gemfile.lock | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 77ac5a7e..5877787b 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' -# ruby '~> 2.5.0' +ruby ENV['TRAVIS_RUBY_VERSION'] || '2.6.6' # rails-assets requires >= 1.8.4 if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4') diff --git a/Gemfile.lock b/Gemfile.lock index 241cbb00..929552b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -784,5 +784,8 @@ DEPENDENCIES webmock whenever +RUBY VERSION + ruby 2.6.6p146 + BUNDLED WITH 1.17.3