# File src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb, line 410
    def self.ruby_tool_command(name)
      path = locate_ruby_tool(name)
      if path
        if is_ruby_program?(path)
          "#{ruby_command} #{path}"
        else
          # The found tool is a wrapper script, e.g. in RVM's ~/.rvm/wrappers.
          # In this case, don't include the Ruby command in the result.
          path
        end
      else
        nil
      end
    end