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