Trying to fix path issue

This commit is contained in:
Nils Winkler
2017-09-15 08:10:17 +02:00
parent f4fa9def14
commit 548563e7aa

View File

@@ -21,6 +21,8 @@ load ../../plugins/available/ruby.plugin
# Then load the ruby plugin again to ensure that the ruby path is appended at the end of the path
load ../../plugins/available/ruby.plugin
echo $PATH
local last_path_entry=$(echo $PATH | tr ":" "\n" | tail -1)
[[ "${last_path_entry}" == "${HOME}"/.gem/ruby/*/bin ]]
}