    # File lib/chef/provider/package/rubygems.rb, line 364
            def is_omnibus?
              if RbConfig::CONFIG['bindir'] =~ %r!/opt/(opscode|chef)/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
              elsif RbConfig::CONFIG['bindir'].sub(/^[\w]:/, '')  == "/opscode/chef/embedded/bin"
                Chef::Log.debug("#{@new_resource} detected omnibus installation in #{RbConfig::CONFIG['bindir']}")
                # windows, with the drive letter removed
                true
              else
                false
              end
            end