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:
parent
ba02016c9a
commit
88fa7d4e54
3 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,8 @@ pushd "$install_dir"
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
cp config/unicorn.rb.example config/unicorn.rb
|
cp config/unicorn.rb.example config/unicorn.rb
|
||||||
chown -R $app:www-data "$install_dir/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 bundler -v 2.4.22
|
||||||
ynh_gem install rake foreman --no-document
|
ynh_gem install rake foreman --no-document
|
||||||
bundle config set --local deployment 'true'
|
bundle config set --local deployment 'true'
|
||||||
|
|
|
@ -42,6 +42,7 @@ ynh_script_progression --message="Building app..."
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
|
ynh_gem install rubygems-update -v 3.4
|
||||||
ynh_gem update --system --no-document
|
ynh_gem update --system --no-document
|
||||||
ynh_gem install bundler -v 2.4.22
|
ynh_gem install bundler -v 2.4.22
|
||||||
ynh_gem install rake foreman --no-document
|
ynh_gem install rake foreman --no-document
|
||||||
|
|
|
@ -60,6 +60,7 @@ pushd $install_dir
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
cp -f config/unicorn.rb.example config/unicorn.rb
|
cp -f config/unicorn.rb.example config/unicorn.rb
|
||||||
chown -R "$app:www-data" "$install_dir/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 update --system --no-document
|
||||||
ynh_gem install bundler -v 2.4.22
|
ynh_gem install bundler -v 2.4.22
|
||||||
ynh_gem install rake foreman --no-document
|
ynh_gem install rake foreman --no-document
|
||||||
|
|
Loading…
Add table
Reference in a new issue