1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/huginn_ynh.git synced 2024-09-03 19:26:13 +02:00

Install correct version of rubygems-update

This commit is contained in:
Salamandar 2024-02-24 14:16:41 +01:00
parent ba02016c9a
commit 88fa7d4e54
3 changed files with 4 additions and 1 deletions

View file

@ -59,7 +59,8 @@ pushd "$install_dir"
ynh_use_ruby
cp config/unicorn.rb.example config/unicorn.rb
chown -R $app:www-data "$install_dir/config/unicorn.rb"
# ynh_gem update --system --no-document
ynh_gem install rubygems-update -v 3.4
ynh_gem update --system --no-document
ynh_gem install bundler -v 2.4.22
ynh_gem install rake foreman --no-document
bundle config set --local deployment 'true'

View file

@ -42,6 +42,7 @@ ynh_script_progression --message="Building app..."
pushd "$install_dir"
ynh_use_ruby
ynh_gem install rubygems-update -v 3.4
ynh_gem update --system --no-document
ynh_gem install bundler -v 2.4.22
ynh_gem install rake foreman --no-document

View file

@ -60,6 +60,7 @@ pushd $install_dir
ynh_use_ruby
cp -f config/unicorn.rb.example config/unicorn.rb
chown -R "$app:www-data" "$install_dir/config/unicorn.rb"
ynh_gem install rubygems-update -v 3.4
ynh_gem update --system --no-document
ynh_gem install bundler -v 2.4.22
ynh_gem install rake foreman --no-document