Last active
December 18, 2015 13:39
-
-
Save ryosuzuki/5791746 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> brew update | |
> ruby-build --definition | |
> brew install rbenv | |
> brew install ruby-build | |
> brew install rbenv-vars | |
> brew install ctags | |
> brew install openssl | |
> brew upgrade readline | |
> xcodebuild -version | |
Xcode 4.6.3 | |
> gcc -v | |
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) | |
> clang -v | |
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) | |
XCode で、Preferences → Components → Command Line Tools をダウンロードしてやって、 | |
> RUBY_CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline) --with-openssl-dir=/usr/local/opt/openssl" rbenv install 2.0.0-p0 | |
> rbenv version | |
1.9.3-p194 (set by /Users/kaz/.rbenv/version)rbenv shell 2.0.0-p0 | |
> rbenv global 2.0.0-p195 | |
> rbenv version | |
2.0.0-p0 (set by RBENV_VERSION environment variable) | |
> rbenv versions | |
system | |
1.9.3-p194 | |
* 2.0.0-p0 (set by RBENV_VERSION environment variable) | |
> rbenv rehash | |
> ruby -v | |
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin11.4.2] | |
> gem -v | |
2.0.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment