Skip to content

Instantly share code, notes, and snippets.

@satomixx
Created March 27, 2014 09:17
Show Gist options
  • Save satomixx/9803564 to your computer and use it in GitHub Desktop.
Save satomixx/9803564 to your computer and use it in GitHub Desktop.
MacOSX Mavericks にアップデート後、環境を整え、 heroku を利用できる様にする ref: http://qiita.com/mugyuu/items/0009b3efda0fb94d40cd
hoge% xcode-select --install
hoge% brew update
エラーメッセージ
hoge% brew link autoconf
Linking /usr/local/Cellar/autoconf/2.69... 18 symlinks created
hoge% sudo gem install heroku
Password:
ERROR: Error installing heroku:
mime-types requires Ruby version >= 1.9.2.
hoge% ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]
hoge% brew install rbenv
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: rbenv-0.3.0 already installed
hoge% brew install ruby-build
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: ruby-build-20121120 already installed
hoge% brew update
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/mxcl/homebrew/info/refs
fatal: HTTP request failed
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
hoge% git config --global --add http.sslVerify false
hoge% brew update
Checking out files: 100% (3122/3122), done.
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renamelimit variable to at least 862 and retry the command.
Error: undefined method `to_sym' for nil:NilClass
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/cmd/update.rb:99:in `report'
/usr/local/Library/Homebrew/cmd/update.rb:97:in `each_line'
/usr/local/Library/Homebrew/cmd/update.rb:97:in `report'
/usr/local/Library/Homebrew/cmd/update.rb:18:in `update'
/usr/local/bin/brew:94:in `send'
/usr/local/bin/brew:94
hoge% brew doctor
sudo mv /opt/local ~/macports
brew install freetype libpng libtool
Warning: Your Xcode (4.5.2) is outdated
Please update to Xcode 4.6.3.
Xcode can be updated from the App Store.
hoge% brew update
Already up-to-date.
hoge% brew upgrade ruby-build
Warning: Your Xcode (4.5.2) is outdated
Please update to Xcode 4.6.3.
hoge% heroku
Usage: heroku COMMAND [--app APP] [command-specific-options]
https://dashboard.heroku.com/account
git@heroku.com:{hogehoge}.git
heroku git:clone {hogehoge}
(hoge% git clone git@heroku.com:{hogehoge}.git これと同じ効果)
hoge% git remote
heroku
hoge% git clone git@heroku.com:{hogehoge}.git
hoge% git remote rename <old> <new>
hoge% git remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment