mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Switch bundle to Ruby 3.1 and next to Rails 7
This commit is contained in:
parent
0592d77949
commit
28caa143e8
4 changed files with 176 additions and 144 deletions
4
Gemfile
4
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue