aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-06 01:52:48 +0100
committeryalh76 <yalh@yahoo.com>2021-03-06 01:52:48 +0100
commit05e04a31490bb0ce04b0ad2d0d9133c83614650d (patch)
tree77cdac0989906e4664b0c9f8d3d4c7e91b32bef3 /scripts
parent8e84376b47555be3c88b1475f54f0fa232d115b8 (diff)
downloadmastodon_ynh-05e04a31490bb0ce04b0ad2d0d9133c83614650d.tar.gz
mastodon_ynh-05e04a31490bb0ce04b0ad2d0d9133c83614650d.tar.bz2
mastodon_ynh-05e04a31490bb0ce04b0ad2d0d9133c83614650d.zip
Update ynh_install_ruby__2
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