bump to ruby 3 and bundler 2

master
radex 2024-01-30 23:48:35 +01:00
parent d4e219efc6
commit 52f4a3a77e
Signed by: radex
SSH Key Fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30
4 changed files with 6 additions and 3 deletions

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
3.0.2

View File

@ -1,4 +1,4 @@
FROM ruby:2.7
FROM ruby:3.0
RUN apt-get update && \
apt-get install -y cups-ipp-utils && \
@ -6,7 +6,6 @@ RUN apt-get update && \
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
RUN gem install bundler:1.17.2
WORKDIR /usr/src/app

View File

@ -5,3 +5,4 @@ gem 'prawn-qrcode'
gem 'sinatra'
gem 'excon'
gem 'json'
gem 'webrick'

View File

@ -30,6 +30,7 @@ GEM
tilt (~> 2.0)
tilt (2.3.0)
ttfunk (1.7.0)
webrick (1.8.1)
PLATFORMS
ruby
@ -40,6 +41,7 @@ DEPENDENCIES
prawn
prawn-qrcode
sinatra
webrick
BUNDLED WITH
1.17.2
2.2.22