美文网首页
Ruby操作1.0

Ruby操作1.0

作者: c39c87a51ca5 | 来源:发表于2018-09-23 17:53 被阅读27次

Last login: Sat Sep 22 22:57:48 on console

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ xcode-select --install

xcode-select: note: install requested for command line developer tools

angeldeMacBook-Air:~ angel$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

==> The following new directories will be created:

/usr/local/bin

/usr/local/etc

/usr/local/include

/usr/local/lib

/usr/local/sbin

/usr/local/share

/usr/local/var

/usr/local/opt

/usr/local/share/zsh

/usr/local/share/zsh/site-functions

/usr/local/Cellar

/usr/local/Caskroom

/usr/local/Homebrew

/usr/local/Frameworks

==> The Xcode Command Line Tools will be installed.

Press RETURN to continue or any other key to abort

==> /usr/bin/sudo /bin/mkdir -p /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

Password:

Sorry, try again.

Password:

Sorry, try again.

Password:

sudo: 3 incorrect password attempts

Failed during: /usr/bin/sudo /bin/mkdir -p /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

==> The following new directories will be created:

/usr/local/bin

/usr/local/etc

/usr/local/include

/usr/local/lib

/usr/local/sbin

/usr/local/share

/usr/local/var

/usr/local/opt

/usr/local/share/zsh

/usr/local/share/zsh/site-functions

/usr/local/Cellar

/usr/local/Caskroom

/usr/local/Homebrew

/usr/local/Frameworks

==> The Xcode Command Line Tools will be installed.

Press RETURN to continue or any other key to abort

==> /usr/bin/sudo /bin/mkdir -p /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

Password:

==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions

==> /usr/bin/sudo /usr/sbin/chown angel /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /bin/mkdir -p /Users/angel/Library/Caches/Homebrew

==> /usr/bin/sudo /bin/chmod g+rwx /Users/angel/Library/Caches/Homebrew

==> /usr/bin/sudo /usr/sbin/chown angel /Users/angel/Library/Caches/Homebrew

==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew

==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew

==> /usr/bin/sudo /usr/sbin/chown angel /Library/Caches/Homebrew

==> Searching online for the Command Line Tools

==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress

==> Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.4

==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (macOS\ High\ Sierra\ version\ 10.13)\ for\ Xcode-9.4

Software Update Tool

Downloading Command Line Tools (macOS High Sierra version 10.13) for Xcode

Downloaded Command Line Tools (macOS High Sierra version 10.13) for Xcode

Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode^C

Cannot cancel updates after installation has started.

-e:69:in `system': Interrupt

from -e:69:in `system'

from -e:75:in `sudo'

from -e:318:in `'

angeldeMacBook-Air:~ angel$ 

Done with Command Line Tools (macOS High Sierra version 10.13) for Xcode

Done.

angeldeMacBook-Air:~ angel$ xcode-select -p

/Applications/Xcode.app/Contents/Developer

angeldeMacBook-Air:~ angel$ https://www.signup-express-vpn.com/signup/success

-bash: https://www.signup-express-vpn.com/signup/success: No such file or directory

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ https://www.signup-express-vpn.com/signup/success

-bash: https://www.signup-express-vpn.com/signup/success: No such file or directory

angeldeMacBook-Air:~ angel$ brew install git

-bash: brew: command not found

angeldeMacBook-Air:~ angel$ sudo xcodebuild -license

Password:

Apple Inc.

Xcode and Apple SDKs Agreement

PLEASE SCROLL DOWN AND READ ALL OF THE FOLLOWING TERMS AND CONDITIONS CAREFULLY BEFORE USING THE APPLE SOFTWARE OR APPLE SERVICES.  THIS IS A LEGAL AGREEMENT BETWEEN YOU AND APPLE.  IF YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS, CLICK THE “AGREE” BUTTON.  BY CLICKING “AGREE” OR BY DOWNLOADING, USING OR COPYING ANY PART OF THIS APPLE SOFTWARE OR USING ANY PART OF THE APPLE SERVICES, YOU ARE AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY OR ORGANIZATION TO THE TERMS AND CONDITIONS STATED BELOW.  IF YOU DO NOT OR CANNOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU CANNOT USE THIS APPLE SOFTWARE OR THE APPLE SERVICES.  DO NOT DOWNLOAD OR USE THIS APPLE SOFTWARE OR APPLE SERVICES IN THAT CASE.

1.      Definitions

Whenever capitalized in this Agreement:

“Agreement” means this Xcode and Apple SDKs Agreement.

“Apple” means Apple Inc., a California corporation with its principal place of business at One Infinite Loop, Cupertino, California 95014, U.S.A.

“Apple Developer Program License Agreement” means a separate agreement that may be entered into between You and Apple regarding the development and submission of Applications to the App Store for approval and digital signing by Apple, development of libraries for iOS, watchOS, and/or tvOS, and the use of Apple services such as the Apple Push Notification Service, In-App Purchase, and iCloud, among other things.

“Apple Maps Service” means the mapping platform and Map Data provided by Apple via the MapKit API (which is the documented API that enables You to add mapping features or functionality to Applications). 

“Apple Services” or “Services” means the developer services that Apple provides to You under this Agreement solely for use with Your Applications and not for use by You as an end-user (e.g., Game Center, Apple Maps Service, any Apple-certificate issuance services, etc.), including any Updates thereto (if any) that may be provided to You by Apple. 

“Apple Software” means the Xcode Developer Tools and the Apple SDKs, including any Updates thereto (if any) that may be provided to You by Apple.

“Apple SDKs” means the macOS SDK, and the Apple-proprietary Software Development Kits (SDKs) provided hereunder, including but not limited to header files, APIs, libraries, simulators, and software (source code and object code) labeled as part of the iOS SDK, watchOS SDK and/or tvOS SDK and included in the Xcode Developer Tools package for purposes of targeting Apple-branded products running iOS, watchOS, or tvOS.

By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] agree

You can view the license agreements in Xcode's About Box, or at /Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf

angeldeMacBook-Air:~ angel$ brew install git

-bash: brew: command not found

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ xcode-select --install

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

angeldeMacBook-Air:~ angel$ Software Update

-bash: Software: command not found

angeldeMacBook-Air:~ angel$ xcode-select -p

/Applications/Xcode.app/Contents/Developer

angeldeMacBook-Air:~ angel$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

Press RETURN to continue or any other key to abort

==> Downloading and installing Homebrew...

remote: Enumerating objects: 1, done.

remote: Counting objects: 100% (1/1), done.

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

Failed during: git fetch origin master:refs/remotes/origin/master --tags --force

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ brew install git

-bash: brew: command not found

angeldeMacBook-Air:~ angel$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

Press RETURN to continue or any other key to abort

==> Downloading and installing Homebrew...

^C-e:69:in `system': Interrupt

from -e:69:in `system'

from -e:354:in `block in '

from -e:340:in `chdir'

from -e:340:in `'

angeldeMacBook-Air:~ angel$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

Press RETURN to continue or any other key to abort

==> Downloading and installing Homebrew...

remote: Enumerating objects: 110803, done.

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

Failed during: git fetch origin master:refs/remotes/origin/master --tags --force

angeldeMacBook-Air:~ angel$ 

angeldeMacBook-Air:~ angel$ 

相关文章

  • Ruby操作1.0

    Last login: Sat Sep 22 22:57:48 on console angeldeMacBook...

  • idea设置scss自动编译

    操作步骤 安装ruby 环境 下载ruby installer https://rubyinstaller.org...

  • gem details

    Gem 操作指南 and Ruby Gem 命令详解 Gem 是一个管理ruby库和程序的标准包,它通过Ruby ...

  • Mac 下安装 MongoDB 并配置到 WebStorm 中

    1. 安装 Ruby OS X 操作系统内置 Ruby,但如果没有 Ruby,则需先输入以下命令安装能够进行多版本...

  • sass安装

    操作系统:centos 安装ruby 安装sass

  • Redis集群安装

    redis 版本:redis-3.2.8操作系统:centos 7.2ruby版本: ruby-2.3.1 1、安...

  • ruby操作.xcodeproj

    前言 开发过程中经常遇到需要脚本拷贝文件,添加文件引用到Xcode,新建group,添加文件到Build Phas...

  • ruby相关操作

    一:安装rvm 安装rvm,rvm是可以让你拥有很多ruby版本的一个工具,具体的可以去了解一下(以下各个步骤均在...

  • ruby 数组操作

    Ruby 数组(Array) Ruby 数组是任何对象的有序整数索引集合。数组中的每个元素都与一个索引相关,并可通...

  • Ruby文件操作

    一、文件操作 1、文件模式 "r" :只读。从文件开头开始(默认模式)。"r+" :读写。从文件的开头开始。"w"...

网友评论

      本文标题:Ruby操作1.0

      本文链接:https://www.haomeiwen.com/subject/xbrqoftx.html