diff options
author | Daniel DeLeo <dan@opscode.com> | 2010-05-05 10:51:40 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2010-05-05 10:51:40 -0700 |
commit | 74a9b2d2b849be4b02567bdc93fc2a82f3d2e2a6 (patch) | |
tree | f08125488170f4049a6d3da5c10c4be576e0e794 /bin | |
parent | ab2be1e592af441eb843bae1917be13019dd0a90 (diff) | |
download | ohai-74a9b2d2b849be4b02567bdc93fc2a82f3d2e2a6.tar.gz |
purge whitespace
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ohai | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -9,9 +9,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,13 +25,13 @@ $: << File.join(File.dirname(__FILE__), "..", "lib") begin require 'rubygems' rescue LoadError - # must be debian! ;) + # must be debian! ;) missing_rubygems = true end begin require 'ohai/application' rescue LoadError - if missing_rubygems + if missing_rubygems STDERR.puts "rubygems previously failed to load - is it installed?" end @@ -44,7 +44,7 @@ if RUBY_PLATFORM =~ /mswin|mingw32|windows/ rescue LoadError STDERR.puts "ruby-wmi failed to load - is it installed?" raise - end + end end Ohai::Application.new.run |