mirror of
https://github.com/YunoHost-Apps/redmine_ynh.git
synced 2024-09-03 20:16:16 +02:00
install_ruby: fix final_path
This commit is contained in:
parent
ba00a92201
commit
d8cdf53738
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ build_pkg_dependencies="$build_pkg_dependencies $build_ruby_dependencies"
|
||||||
# However, $PATH is duplicated into $ruby_path to outlast any manipulation of $PATH
|
# However, $PATH is duplicated into $ruby_path to outlast any manipulation of $PATH
|
||||||
# You can use the variable `$ynh_ruby_load_path` to quickly load your Ruby version
|
# You can use the variable `$ynh_ruby_load_path` to quickly load your Ruby version
|
||||||
# in $PATH for an usage into a separate script.
|
# in $PATH for an usage into a separate script.
|
||||||
# Exemple: $ynh_ruby_load_path $final_path/script_that_use_gem.sh`
|
# Exemple: $ynh_ruby_load_path $install_dir/script_that_use_gem.sh`
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Finally, to start a Ruby service with the correct version, 2 solutions
|
# Finally, to start a Ruby service with the correct version, 2 solutions
|
||||||
|
@ -80,7 +80,7 @@ ynh_use_ruby () {
|
||||||
ynh_ruby_load_path="PATH=$PATH"
|
ynh_ruby_load_path="PATH=$PATH"
|
||||||
|
|
||||||
# Sets the local application-specific Ruby version
|
# Sets the local application-specific Ruby version
|
||||||
pushd $final_path
|
pushd $install_dir
|
||||||
$rbenv_install_dir/bin/rbenv local $ruby_version
|
$rbenv_install_dir/bin/rbenv local $ruby_version
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue