Switch bundle to Ruby 3.1 and next to Rails 7

This commit is contained in:
Henne Vogelsang 2022-02-10 16:57:53 +01:00
parent 0592d77949
commit 28caa143e8
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
4 changed files with 176 additions and 144 deletions

View file

@ -5,7 +5,7 @@ end
source 'https://rubygems.org'
ruby ENV['OSEM_RUBY_VERSION'] || '2.5.9'
ruby ENV['OSEM_RUBY_VERSION'] || '3.1.0'
# rails-assets requires >= 1.8.4
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')
@ -14,7 +14,7 @@ end
# as web framework
if next?
gem 'rails', '~> 6'
gem 'rails', '~> 7'
else
gem 'rails', '~> 5.2'
end