From 2c167c028081cb0e4960ccfe88158dbdd804fffa Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 2 Aug 2023 17:07:30 -0700 Subject: [PATCH] Upgrade to Ruby 2.6.10 Pretty smooth one! We also get to finally be on latest Bundler with this! --- .ruby-version | 2 +- Gemfile | 2 +- Gemfile.lock | 4 ++-- Vagrantfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ruby-version b/.ruby-version index b0f6bf0c..a04abec9 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.4.10 +2.6.10 diff --git a/Gemfile b/Gemfile index a1970879..9277db09 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'http://rubygems.org' -ruby '2.4.10' +ruby '2.6.10' gem 'rails', '= 5.2.8.1' diff --git a/Gemfile.lock b/Gemfile.lock index 322b517e..e78e38eb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -295,7 +295,7 @@ DEPENDENCIES will_paginate (~> 4.0) RUBY VERSION - ruby 2.4.10p364 + ruby 2.6.10p210 BUNDLED WITH - 1.17.3 + 2.4.18 diff --git a/Vagrantfile b/Vagrantfile index ed21a91d..20311112 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -75,7 +75,7 @@ Vagrant.configure("2") do |config| apt-get install -y libmysqlclient-dev libcurl4-openssl-dev nodejs su vagrant -c 'git clone https://github.com/rbenv/rbenv.git ~/.rbenv' su vagrant -c 'git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build' - su vagrant -c '~/.rbenv/bin/rbenv install 2.4.10 && ~/.rbenv/shims/gem install bundler -v 1.17.3' + su vagrant -c '~/.rbenv/bin/rbenv install 2.6.10 && ~/.rbenv/shims/gem update --system' apt-get install -y mysql-server mysql -e "CREATE USER IF NOT EXISTS openneo_impress IDENTIFIED BY 'openneo_impress';" mysql -e "CREATE DATABASE IF NOT EXISTS openneo_impress;"