From 310360964055c428247e628d7d1b529ab7421499 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Fri, 15 Sep 2017 08:10:17 +0200 Subject: [PATCH] Reverted Ruby path fix --- test/plugins/ruby.plugin.bats | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/plugins/ruby.plugin.bats b/test/plugins/ruby.plugin.bats index 17b2f1ea..4b16bacd 100755 --- a/test/plugins/ruby.plugin.bats +++ b/test/plugins/ruby.plugin.bats @@ -15,14 +15,6 @@ load ../../plugins/available/ruby.plugin skip 'ruby not installed' fi - # Reset the path for this test to ensure that the ruby directory is not part of the path yet. - PATH="/usr/local/bin:/usr/bin:/bin" - - # 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 ]] }