$ sudo gem install cocoapods
Password:
Fetching: cocoapods-trunk-0.6.1.gem (100%)
Successfully installed cocoapods-trunk-0.6.1
Fetching: cocoapods-try-0.4.5.gem (100%)
Successfully installed cocoapods-try-0.4.5
Fetching: xcodeproj-0.24.3.gem (100%)
Successfully installed xcodeproj-0.24.3
Fetching: cocoapods-core-0.37.2.gem (100%)
Successfully installed cocoapods-core-0.37.2
Fetching: cocoapods-0.37.2.gem (100%)
Successfully installed cocoapods-0.37.2
Parsing documentation for cocoapods-trunk-0.6.1
Installing ri documentation for cocoapods-trunk-0.6.1
Parsing documentation for cocoapods-try-0.4.5
Installing ri documentation for cocoapods-try-0.4.5
Parsing documentation for xcodeproj-0.24.3
Installing ri documentation for xcodeproj-0.24.3
Parsing documentation for cocoapods-core-0.37.2
Installing ri documentation for cocoapods-core-0.37.2
Parsing documentation for cocoapods-0.37.2
Installing ri documentation for cocoapods-0.37.2
5 gems installed
$ sudo gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.4.8.gem (100%)
Successfully installed rubygems-update-2.4.8
Parsing documentation for rubygems-update-2.4.8
Installing ri documentation for rubygems-update-2.4.8
Installing darkfish documentation for rubygems-update-2.4.8
Parsing documentation for rubygems-update-2.4.8
Installing RubyGems 2.4.8
RubyGems 2.4.8 installed
Parsing documentation for rubygems-2.4.8
Installing ri documentation for rubygems-2.4.8
=== 2.4.8 / 2015-06-08
Bug fixes:
- Tightened API endpoint checks for CVE-2015-3900
=== 2.4.7 / 2015-05-14
Bug fixes:
-
Backport: Limit API endpoint to original security domain for CVE-2015-3900.
Fix by claudijd
=== 2.4.6 / 2014-02-05
Bug fixes:
-
Fixed resolving gems with both upper and lower requirement boundaries.
Issue #1141 by Jakub Jirutka.
-
Moved extension directory after require_paths to fix missing constant bugs
in some gems with C extensions. Issue #784 by André Arko, pull request
#1137 by Barry Allard.
-
Use Gem::Dependency#requirement when adding a dependency to an existing
dependency instance. Pull request #1101 by Josh Cheek.
-
Fixed warning of shadowed local variable in Gem::Specification. Pull request
#1109 by Rohit Arondekar
-
Gem::Requirement should always sort requirements before coercion to Hash.
Pull request #1139 by Eito Katagiri.
-
The
gem open
command should change the current working directory beforeopening the editor. Pull request #1142 by Alex Wood.
-
Ensure quotes are stripped from the Windows launcher script used to install
gems. Pull request #1115 by Youngjun Song.
-
Fixed errors when writing to NFS to to 0444 files. Issue #1161 by Emmanuel
Hadoux.
-
Removed dead code in Gem::StreamUI. Pull request #1117 by mediaslave24.
-
Fixed typos. Pull request #1096 by hakeda.
-
Relaxed CMake dependency for RHEL 6 and CentOS 6. Pull request #1124 by Vít
Ondruch.
-
Relaxed Psych dependency. Pull request #1128 by Vít Ondruch.
RubyGems installed the following executables:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/gem
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.
RubyGems system software updated
$ pod setup
Setting up CocoaPods master repo
xcodeのコマンドラインツールのインストール
$ xcode-select --install
xcode-select: note: install requested for command line developer tools
homebrewのインストール urlがかわったっぽい
!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
puts <<-EOS
Whoops, the Homebrew installer has moved! Please instead run:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Also, please ask wherever you got this link from to update it to the above.
Thanks!
EOS
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
==> Installation successful!
==> Next steps
Run brew help
to get started
homebrewでもろもろインストール
$ brew install fontconfig freetype libpng openssl
==> Installing dependencies for fontconfig: libpng, freetype
==> Installing fontconfig dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.17.yosemite.bott
######################################################################## 100.0%
==> Pouring libpng-1.6.17.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/libpng/1.6.17: 17 files, 1.2M
==> Installing fontconfig dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.6_1.yosemite.bot
######################################################################## 100.0%
==> Pouring freetype-2.6_1.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/freetype/2.6_1: 60 files, 2.6M
==> Installing fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.yosemite.
######################################################################## 100.0%
==> Pouring fontconfig-2.11.1.yosemite.bottle.3.tar.gz
==> /usr/local/Cellar/fontconfig/2.11.1/bin/fc-cache -frv
🍺 /usr/local/Cellar/fontconfig/2.11.1: 448 files, 3.6M
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2c.yosemite.bot
######################################################################## 100.0%
==> Pouring openssl-1.0.2c.yosemite.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2c: 463 files, 18M
CocoaPodsセットアップ
$ pod setup
Setting up CocoaPods master repo
Already up-to-date.
CocoaPods 0.38.0.beta.2 is available.
To update use: gem install cocoapods --pre
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Setup completed