1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00

run gem update as root

This commit is contained in:
Salamandar 2024-02-23 19:39:15 +01:00
parent c6bd010960
commit 287b291b4f

View file

@ -13,7 +13,7 @@ ruby_version=3.1
_redmine_ruby_install() {
pushd "$install_dir"
ynh_use_ruby
ynh_exec_as "$app" "$ynh_ruby_load_path" "$ynh_gem" update --system --no-document
"$ynh_gem" update --system --no-document
ynh_exec_as "$app" "$ynh_ruby_load_path" "$ynh_gem" install bundler passenger --no-document
ynh_exec_as "$app" "$ynh_ruby_load_path" bundle config set --local without 'development test rmagick'
ynh_exec_as "$app" "$ynh_ruby_load_path" bundle add 'webrick' --version '~> 1.7'