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 istall as root

This commit is contained in:
Salamandar 2024-02-23 20:18:42 +01:00
parent 287b291b4f
commit f38f407d8d

View file

@ -14,7 +14,7 @@ _redmine_ruby_install() {
pushd "$install_dir"
ynh_use_ruby
"$ynh_gem" update --system --no-document
ynh_exec_as "$app" "$ynh_ruby_load_path" "$ynh_gem" install bundler passenger --no-document
"$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'
ynh_exec_as "$app" "$ynh_ruby_load_path" bundle install