aboutsummaryrefslogtreecommitdiff
path: root/scripts/ynh_install_ruby__2
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ynh_install_ruby__2')
-rw-r--r--scripts/ynh_install_ruby__24
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2
index a2a83d0..521a182 100644
--- a/scripts/ynh_install_ruby__2
+++ b/scripts/ynh_install_ruby__2
@@ -36,7 +36,7 @@ build_pkg_dependencies="$build_pkg_dependencies $build_ruby_dependencies"
# 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
# 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
@@ -81,7 +81,7 @@ ynh_use_ruby () {
ynh_ruby_load_path="PATH=$PATH"
# Sets the local application-specific Ruby version
- pushd $final_path
+ pushd $install_dir
$rbenv_install_dir/bin/rbenv local $ruby_version
popd
}