1
0
Fork 0
forked from OpenNeo/impress

Upgrade to Ruby 3.1.4

Easy peasy!
This commit is contained in:
Emi Matchu 2023-08-04 16:38:42 -07:00
parent 223c393171
commit a1735c545c
4 changed files with 5 additions and 4 deletions

View file

@ -1 +1 @@
3.0.6
3.1.4

View file

@ -1,5 +1,5 @@
source 'http://rubygems.org'
ruby '3.0.6'
ruby '3.1.4'
gem 'rails', '= 7.0.6'

View file

@ -353,7 +353,7 @@ DEPENDENCIES
will_paginate (~> 4.0)
RUBY VERSION
ruby 3.0.6p216
ruby 3.1.4p223
BUNDLED WITH
2.4.18

3
Vagrantfile vendored
View file

@ -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;"