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