diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-21 16:39:50 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-21 16:39:50 -0700 |
commit | 35a7946499362de10c82660698a2af7a85c06135 (patch) | |
tree | 801de525af793e05f6f7fcee456f54afd2bcfbf7 | |
parent | f11b854cd189e8ad311592d507a0849cfbc0da52 (diff) | |
download | ohai-35a7946499362de10c82660698a2af7a85c06135.tar.gz |
remove hardcoded path from my machine
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/mixin/shell_out_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/shell_out_spec.rb b/spec/unit/mixin/shell_out_spec.rb index 6c54b166..b70b41b3 100644 --- a/spec/unit/mixin/shell_out_spec.rb +++ b/spec/unit/mixin/shell_out_spec.rb @@ -37,7 +37,7 @@ describe Ohai::Mixin::ShellOut, "shell_out" do "LANG" => "en_US.UTF-8", "LANGUAGE" => "en_US.UTF-8", "LC_ALL" => "en_US.UTF-8", - "PATH" => "/Users/lamont/.asdf/installs/ruby/2.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", + "PATH" => "#{RbConfig::CONFIG["bindir"]}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", }, } end |