1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Update ynh_install_ruby__2

This commit is contained in:
yalh76 2021-03-06 01:52:48 +01:00
parent 8e84376b47
commit 05e04a3149

View file

@ -105,9 +105,8 @@ ynh_use_ruby () {
if [[ :$PATH: != *":$ruby_path"* ]]; then if [[ :$PATH: != *":$ruby_path"* ]]; then
PATH="$ruby_path:$PATH" PATH="$ruby_path:$PATH"
fi fi
ruby_path="$PATH"
# Create an alias to easily load the 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 # Sets the local application-specific Ruby version
(cd $final_path (cd $final_path