From 029163d11bcbff2faec9830387d16ab1cbd9ccdc Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 4 Aug 2023 16:38:42 -0700 Subject: [PATCH] Upgrade to Ruby 3.1.4 Easy peasy! --- .ruby-version | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- Vagrantfile | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.ruby-version b/.ruby-version index 818bd47a..0aec50e6 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.6 +3.1.4 diff --git a/Gemfile b/Gemfile index 2d39b293..224d72d4 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'http://rubygems.org' -ruby '3.0.6' +ruby '3.1.4' gem 'rails', '= 7.0.6' diff --git a/Gemfile.lock b/Gemfile.lock index d652b05f..5b98be4b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -353,7 +353,7 @@ DEPENDENCIES will_paginate (~> 4.0) RUBY VERSION - ruby 3.0.6p216 + ruby 3.1.4p223 BUNDLED WITH 2.4.18 diff --git a/Vagrantfile b/Vagrantfile index 40ed691d..d1cde629 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -75,7 +75,8 @@ 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 3.0.6 && ~/.rbenv/shims/gem update --system' + su vagrant -c '~/.rbenv/bin/rbenv install 3.1.4' + su vagrant -c 'rbenv shell 3.1.4 && ~/.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;"