Skip to content

Commit

Permalink
Use ruby 3.3.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
pbstriker38 committed Dec 17, 2023
1 parent ed71d7d commit db571ab
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.0-rc1
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG GIT_SHA=unspecified
ARG RACK_ENV=production

# Build image
FROM ruby:3.2.2-alpine as BUILD_IMAGE
FROM ruby:3.3.0-rc1-alpine as BUILD_IMAGE

# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#using-pipes
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
Expand Down Expand Up @@ -36,7 +36,7 @@ RUN MAKE="make --jobs $(($(nproc)+1))" bundle install --jobs "$(nproc)" --retry
COPY . $APP_HOME

# Final image
FROM ruby:3.2.2-alpine
FROM ruby:3.3.0-rc1-alpine

ARG GIT_SHA
ARG RACK_ENV
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

ruby '3.2.2'
ruby '3.3.0.rc1'

gem 'sinatra', '~> 3.0'
gem 'puma', '~> 6.0'
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ DEPENDENCIES
sinatra (~> 3.0)

RUBY VERSION
ruby 3.2.2p53
ruby 3.3.0.rc1

BUNDLED WITH
2.4.19
2.5.1
3 changes: 3 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

require './app'

RubyVM::YJIT.enable
puts "YJIT enabled: #{RubyVM::YJIT.enabled?}"

run App

0 comments on commit db571ab

Please sign in to comment.