# File lib/rubyipmi.rb, line 102 def self.locate_command(commandname) location = `which #{commandname}`.strip if not $?.success? location = nil end return location end