ports/devel/rubygem-vite_rails-rails70/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

23 lines
574 B
Makefile

PORTNAME= vite_rails
PORTVERSION= 3.0.17
PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails70
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Use Vite in Rails and bring joy to your JavaScript experience
WWW= https://github.com/ElMassimo/vite_ruby \
https://github.com/ElMassimo/vite_ruby/tree/vite_rails@3.0.16/vite_rails
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-railties70>=5.1<8:www/rubygem-railties70 \
rubygem-vite_ruby33>=3.2.2<4:devel/rubygem-vite_ruby33
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>