Trying to fix path issue

pull/1043/head
Nils Winkler 2017-09-15 08:10:17 +02:00
parent f4fa9def14
commit 548563e7aa
1 changed files with 2 additions and 0 deletions

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 ]]
}