diff options
author | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2015-06-29 22:46:14 -0700 |
---|---|---|
committer | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2015-06-29 22:46:14 -0700 |
commit | d27a5f8257eed6383f33acd0ab2f07655a69da19 (patch) | |
tree | 159011b51652707c13cae7e2f4202b4d2326044b /lib/chef | |
parent | b8f4066d59a7e90980856c4e963ed423252d1337 (diff) | |
download | chef-d27a5f8257eed6383f33acd0ab2f07655a69da19.tar.gz |
Handling case where windows users install to a non default location.
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/provider/package/rubygems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/rubygems.rb b/lib/chef/provider/package/rubygems.rb index 51057c466a..510095bf64 100644 --- a/lib/chef/provider/package/rubygems.rb +++ b/lib/chef/provider/package/rubygems.rb @@ -401,7 +401,7 @@ class Chef end def is_omnibus? - if RbConfig::CONFIG['bindir'] =~ %r!/opt/(opscode|chef|chefdk)/embedded/bin! + if RbConfig::CONFIG['bindir'] =~ %r!/(opscode|chef|chefdk)/embedded/bin! Chef::Log.debug("#{@new_resource} detected omnibus installation in #{RbConfig::CONFIG['bindir']}") # Omnibus installs to a static path because of linking on unix, find it. true |