From 6a44e856a0d48403d178fc16c48fc42e2faeb556 Mon Sep 17 00:00:00 2001 From: Kyle Sferrazza Date: Sun, 7 May 2023 10:55:57 -0400 Subject: [PATCH] update to ruby 3.0.6 --- Dockerfile | 4 ++-- Gemfile | 2 +- Gemfile.lock | 2 +- flake.nix | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49a649e1d..ecc84338e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ RUN apt-get update -qq && apt-get install -y nodejs postgresql-client WORKDIR /home/app/hourglass COPY Gemfile /home/app/hourglass/Gemfile COPY Gemfile.lock /home/app/hourglass/Gemfile.lock -RUN bash -lc 'rvm install ruby-2.7.8' -RUN bash -lc 'rvm --default use ruby-2.7.8' +RUN bash -lc 'rvm install ruby-3.0.2' +RUN bash -lc 'rvm --default use ruby-3.0.2' RUN bundle install --without test development COPY package.json /home/app/hourglass/package.json diff --git a/Gemfile b/Gemfile index 96697d841..1d1486435 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '2.7.8' +ruby '3.0.6' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 6.1' diff --git a/Gemfile.lock b/Gemfile.lock index c20d5bb69..fbef36777 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -395,7 +395,7 @@ DEPENDENCIES webpacker (~> 6.0.0.rc.5) RUBY VERSION - ruby 2.7.8p225 + ruby 3.0.6p216 BUNDLED WITH 2.4.12 diff --git a/flake.nix b/flake.nix index 0fb01d935..b9f32fc10 100644 --- a/flake.nix +++ b/flake.nix @@ -64,7 +64,7 @@ which lzma watchman - ruby_2_7.devEnv + ruby_3_0.devEnv # passenger compilation libs libxcrypt