bug-tracker: Override maximum Ruby version in the Gemfile to 3.3.99

Now I don't need to manually update the version number each time Ruby is patched.
This commit is contained in:
OatmealDome
2025-05-26 03:07:36 +00:00
parent 0ce590a54e
commit 8f3004c1a7

View File

@@ -21,6 +21,8 @@ redmineGemfile=$($redmineRuby -e "print ENV['BUNDLE_GEMFILE']")
cat $redmineGemfile Gemfile > Gemfile.combined
sed -i "s/< 3\.3\.0/< 3.3.99/" Gemfile.combined
BUNDLE_GEMFILE=Gemfile.combined bundle lock --add-platform ruby
BUNDLE_GEMFILE=Gemfile.combined bundle lock --remove-platform x86_64-linux
bundix -l --gemfile=Gemfile.combined --lockfile=Gemfile.combined.lock