aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ynh_install_ruby__23
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2
index 0488d3c..78f65ad 100644
--- a/scripts/ynh_install_ruby__2
+++ b/scripts/ynh_install_ruby__2
@@ -105,9 +105,8 @@ ynh_use_ruby () {
if [[ :$PATH: != *":$ruby_path"* ]]; then
PATH="$ruby_path:$PATH"
fi
- ruby_path="$PATH"
# Create an alias to easily load the PATH
- ynh_ruby_load_path="PATH=$ruby_path"
+ ynh_ruby_load_path="PATH=$PATH"
# Sets the local application-specific Ruby version
(cd $final_path