mirror of
https://github.com/YunoHost-Apps/redmine_ynh.git
synced 2024-09-03 20:16:16 +02:00
use ynh_gem variabel
This commit is contained in:
parent
6ce260e0a6
commit
3e1fd48ec9
1 changed files with 6 additions and 6 deletions
|
@ -12,12 +12,12 @@ ruby_version=3.1
|
||||||
|
|
||||||
_redmine_ruby_install() {
|
_redmine_ruby_install() {
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_gem update --system --no-document
|
"$ynh_gem" update --system --no-document
|
||||||
ynh_gem install bundler passenger --no-document
|
"$ynh_gem" install bundler passenger --no-document
|
||||||
bundle config set --local without 'development test rmagick'
|
bundle config set --local without 'development test rmagick'
|
||||||
bundle add 'webrick' --version '~> 1.7'
|
bundle add 'webrick' --version '~> 1.7'
|
||||||
bundle install
|
bundle install
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue