Skip to content

Instantly share code, notes, and snippets.

@mingder78
Created January 25, 2013 15:35
Show Gist options
  • Select an option

  • Save mingder78/4635309 to your computer and use it in GitHub Desktop.

Select an option

Save mingder78/4635309 to your computer and use it in GitHub Desktop.
install cocoapads
Wangteki-MacBook-Air:~ mingderwang$ gem update --system
Updating RubyGems
Updating rubygems-update
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
Wangteki-MacBook-Air:~ mingderwang$ sudo !!
sudo gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.8.25
Updating RubyGems to 1.8.25
Installing RubyGems 1.8.25
RubyGems 1.8.25 installed
== 1.8.25/ 2013-01-24
* 6 bug fixes:
* Added 11627 to setup bin_file location to protect against errors. Fixes #328 by ConradIrwin
* Specification#ruby_code didn't handle Requirement with multiple
* Fix error on creating a Version object with a frozen string.
* Fix incremental index updates
* Fix missing load_yaml in YAML-related requirement.rb code.
* Manually backport encoding-aware YAML gemspec
------------------------------------------------------------------------------
RubyGems installed the following executables:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem
Wangteki-MacBook-Air:~ mingderwang$ gem install bundler
Fetching: bundler-1.2.3.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
Wangteki-MacBook-Air:~ mingderwang$ sudo !!
sudo gem install bundler
Fetching: bundler-1.2.3.gem (100%)
Successfully installed bundler-1.2.3
1 gem installed
Installing ri documentation for bundler-1.2.3...
Installing RDoc documentation for bundler-1.2.3...
Wangteki-MacBook-Air:~ mingderwang$ cd ~
Wangteki-MacBook-Air:~ mingderwang$ git clone git://github.com/CocoaPods/CocoaPods.git
Cloning into 'CocoaPods'...
remote: Counting objects: 13233, done.
remote: Compressing objects: 100% (4298/4298), done.
remote: Total 13233 (delta 8716), reused 13115 (delta 8619)
Receiving objects: 100% (13233/13233), 10.93 MiB | 54 KiB/s, done.
Resolving deltas: 100% (8716/8716), done.
Wangteki-MacBook-Air:~ mingderwang$ cd CocoaPods
Wangteki-MacBook-Air:CocoaPods mingderwang$ bundle install
Fetching git://github.com/CocoaPods/Xcodeproj.git
remote: Counting objects: 2608, done.
remote: Compressing objects: 100% (1051/1051), done.
remote: Total 2608 (delta 1617), reused 2472 (delta 1487)
Receiving objects: 100% (2608/2608), 454.07 KiB | 126 KiB/s, done.
Resolving deltas: 100% (1617/1617), done.
Fetching https://github.com/alloy/kicker.git
remote: Counting objects: 2007, done.
remote: Compressing objects: 100% (742/742), done.
remote: Total 2007 (delta 1234), reused 1948 (delta 1185)
Receiving objects: 100% (2007/2007), 675.74 KiB | 144 KiB/s, done.
Resolving deltas: 100% (1234/1234), done.
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Enter your password to install the bundled RubyGems to your system:
Gem::Exception: Cannot load gem at [/Library/Ruby/Gems/1.8/cache/rake-0.9.6.gem] in /Users/mingderwang/CocoaPods
An error occurred while installing rake (0.9.6), and Bundler cannot continue.
Make sure that `gem install rake -v '0.9.6'` succeeds before bundling.
Wangteki-MacBook-Air:CocoaPods mingderwang$ gem install rake -v '0.9.6'
^CERROR: Interrupted
Wangteki-MacBook-Air:CocoaPods mingderwang$ sudo !!
sudo gem install rake -v '0.9.6'
Password:
Fetching: rake-0.9.6.gem (100%)
Successfully installed rake-0.9.6
1 gem installed
Installing ri documentation for rake-0.9.6...
Installing RDoc documentation for rake-0.9.6...
Wangteki-MacBook-Air:CocoaPods mingderwang$ gem install rake -v '0.9.6'
^CERROR: Interrupted
Wangteki-MacBook-Air:CocoaPods mingderwang$
Wangteki-MacBook-Air:CocoaPods mingderwang$ bundle install
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Using rake (0.9.6)
Installing i18n (0.6.1)
Installing multi_json (1.5.0)
Installing activesupport (3.2.11)
Installing addressable (2.3.2)
Installing awesome_print (1.1.0)
Installing bacon (1.2.0)
Installing colored (1.2)
Installing escape (0.0.4)
Installing multipart-post (1.1.5)
Installing faraday (0.8.4)
Installing json (1.7.6) with native extensions
Installing faraday_middleware (0.9.0)
Installing hashie (1.2.0)
Installing netrc (0.7.7)
Installing octokit (1.21.0)
Installing open4 (1.3.0)
Using xcodeproj (0.4.1) from git://github.com/CocoaPods/Xcodeproj.git (at master) with native extensions
Using cocoapods (0.16.1) from source at .
Installing coderay (1.0.8)
Installing crack (0.3.2)
Installing github-markup (0.7.5)
Installing listen (0.7.2)
Installing terminal-notifier (1.4.2)
Using kicker (3.0.0pre1) from https://github.com/alloy/kicker.git (at 3.0.0)
Installing metaclass (0.0.1)
Installing method_source (0.8.1)
Installing mocha (0.11.4)
Installing mocha-on-bacon (0.2.1)
Installing slop (3.3.3)
Installing pry (0.9.10)
Installing rb-fsevent (0.9.3)
Installing redcarpet (2.2.2) with native extensions
Installing vcr (2.4.0)
Installing webmock (1.9.0)
Installing yard (0.8.3)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment