def run_pre_install_commands(prompt)
      if pre_install_commands
        prompt_for_permission if prompt
        pre_install_commands.each { |command| Executable.execute_command('bash', ['-ec', command], true) }
      end
    end
def run_pre_install_commands(prompt)
      if pre_install_commands
        prompt_for_permission if prompt
        pre_install_commands.each { |command| Executable.execute_command('bash', ['-ec', command], true) }
      end
    end
Runs the pre_install_commands from

 @param  [Bool] prompt
         Should CocoaPods-Try show a prompt with the commands to the user.