def env_and_command_for_section(key)
      if command = config[key]
        command = [command] unless Array === command
        command = command.map { |cmd| "#{switch}#{cmd}" }.join(" && ")

        [env, command]
      elsif key == "script"
        command = (wants_bundle? ? "#{switch}bundle exec rake" : "#{switch}rake")
        [env, command]
      end
    end
def env_and_command_for_section(key)
      if command = config[key]
        command = [command] unless Array === command
        command = command.map { |cmd| "#{switch}#{cmd}" }.join(" && ")

        [env, command]
      elsif key == "script"
        command = (wants_bundle? ? "#{switch}bundle exec rake" : "#{switch}rake")
        [env, command]
      end
    end
internal api