Skip to content

Commit 27762f2

Browse files
committed
Update playground to use ruby 7
1 parent c05e45c commit 27762f2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

playground/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.1.2-slim
1+
FROM ruby:3.4-slim
22
ENV LANG C.UTF-8
33

44
RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
@@ -9,7 +9,8 @@ RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
99
telnet \
1010
nodejs \
1111
npm \
12-
python \
12+
python3 \
13+
libsqlite3-dev \
1314
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1415

1516
RUN apt-get update -qq && apt-get install -y libpq-dev

playground/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
5-
gem 'rails', '~> 6.1.3'
5+
gem 'rails', '~> 7.1'
66
# Use sqlite3 as the database for Active Record
77
gem 'sqlite3'
88
# Use Puma as the app server

playground/config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
module Playground
1010
class Application < Rails::Application
1111
# Initialize configuration defaults for originally generated Rails version.
12-
config.load_defaults 6.1
12+
config.load_defaults 7.1
1313

1414
# Configuration for the application, engines, and railties goes here.
1515
#

0 commit comments

Comments
 (0)