Ruby操作1.0

2018-09-23  本文已影响27人  c39c87a51ca5

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$ 

上一篇下一篇

猜你喜欢

热点阅读