From 548563e7aa2e8f0faf0995f542523add28a01202 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Fri, 15 Sep 2017 08:10:17 +0200 Subject: [PATCH] Trying to fix path issue --- test/plugins/ruby.plugin.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/plugins/ruby.plugin.bats b/test/plugins/ruby.plugin.bats index 8d0b53e9..17b2f1ea 100755 --- a/test/plugins/ruby.plugin.bats +++ b/test/plugins/ruby.plugin.bats @@ -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 ]] }