summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-02 22:27:40 -0800
committerTim Smith <tsmith@chef.io>2017-12-02 22:27:40 -0800
commitc6fee1e2c26a1271b459393db5e751b725c8f091 (patch)
tree285d01a06f9248cb60b07bfa533845431f913083 /bin
parent33f711936b9b8dfe0c5a6c5decef3d43c207ddee (diff)
downloadohai-c6fee1e2c26a1271b459393db5e751b725c8f091.tar.gz
Remove the rubygems require in the main app
This is a Ruby 1.8-ism Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ohai6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/ohai b/bin/ohai
index 4bc6b066..a12f269b 100755
--- a/bin/ohai
+++ b/bin/ohai
@@ -20,12 +20,6 @@
#
begin
- require "rubygems"
-rescue LoadError
- # must be debian! ;)
- missing_rubygems = true
-end
-begin
# if we're in a source code checkout, we want to run the code from that.
# have to do this *after* rubygems is loaded.
$:.unshift File.expand_path("../../lib", __FILE__)