freebsd-ports/devel/rubygem-vite_ruby33/Makefile
Matthias Fechner ace1d95ae9 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)
2023-12-14 14:22:11 +02:00

24 lines
540 B
Makefile

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>