www/gitlab-ce: fix database migration error

Database migration step requires vite_ruby 3.3 even if a higher version is allowed.
Following error is fixed:
E, [2023-12-14T14:15:11.286071 #1116] ERROR -- : Failed to check mode for Vite: vite-plugin-ruby@^3.2.2 might not be compatible with vite_ruby-3.5.0

You may disable this check if needed: https://vite-ruby.netlify.app/config/#skipcompatibilitycheck

You may upgrade both by running:

    bundle exec vite upgrade

rake aborted!
ArgumentError: vite-plugin-ruby@^3.2.2 might not be compatible with vite_ruby-3.5.0

You may disable this check if needed: https://vite-ruby.netlify.app/config/#skipcompatibilitycheck

You may upgrade both by running:

    bundle exec vite upgrade
/usr/local/www/gitlab-ce/config/environment.rb:7:in `<top (required)>'
<internal:/usr/local/lib/ruby/site_ruby/3.1/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.1/rubygems/core_ext/kernel_require.rb>:38:in `require'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
This commit is contained in:
Matthias Fechner 2023-12-14 14:19:37 +02:00
parent 72e47c4a3b
commit ace1d95ae9
6 changed files with 32 additions and 2 deletions

View file

@ -7557,6 +7557,7 @@
SUBDIR += rubygem-virtus
SUBDIR += rubygem-vite_rails-rails70
SUBDIR += rubygem-vite_ruby
SUBDIR += rubygem-vite_ruby33
SUBDIR += rubygem-warbler
SUBDIR += rubygem-warden
SUBDIR += rubygem-warning

View file

@ -1,5 +1,6 @@
PORTNAME= vite_rails
PORTVERSION= 3.0.17
PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails70
@ -13,7 +14,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-railties70>=5.1<8:www/rubygem-railties70 \
rubygem-vite_ruby>=3.2.2<4:devel/rubygem-vite_ruby
rubygem-vite_ruby33>=3.2.2<4:devel/rubygem-vite_ruby33
USES= gem

View file

@ -0,0 +1,24 @@
PORTNAME= vite_ruby
PORTVERSION= 3.3.4
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 33
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Use Vite in Ruby and bring joy to your JavaScript experience
WWW= https://github.com/ElMassimo/vite_ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-dry-cli>=0.7<2:devel/rubygem-dry-cli \
rubygem-rack-proxy>=0.6.1<1.0:www/rubygem-rack-proxy \
rubygem-zeitwerk>=2.2<3:devel/rubygem-zeitwerk
USES= gem
NO_ARCH= yes
PLIST_FILES= bin/vite
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1702555790
SHA256 (rubygem/vite_ruby-3.3.4.gem) = 025e438385a6dc2320c8c148dff453f5bb1d4f056ce69c3386f47d4c388ad80c
SIZE (rubygem/vite_ruby-3.3.4.gem) = 31232

View file

@ -0,0 +1 @@
Use Vite in Ruby and bring joy to your JavaScript experience

View file

@ -1,6 +1,6 @@
PORTNAME= gitlab-ce
PORTVERSION= 16.6.2
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= www devel