Skip to content

Instantly share code, notes, and snippets.

@katsuyoshi
Last active December 18, 2015 19:18
Show Gist options
  • Save katsuyoshi/5831514 to your computer and use it in GitHub Desktop.
Save katsuyoshi/5831514 to your computer and use it in GitHub Desktop.
10.8.4へRubyのインストール
参照
http://blog.lampetty.net/blog_ja/index.php/archives/475
http://mxcl.github.io/homebrew/
http://qiita.com/marutanm/items/3da5d8895d0059df24d2
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
$ brew doctor
$ brew install ruby
$vi ~/.bash_profile
export PATH=/usr/local/bin:$PATH
$ source ~/.bash_profile
$ brew versions ruby
2.0.0-p195 git checkout dad5917 /usr/local/Library/Formula/ruby.rb
2.0.0-p0 git checkout 3085c40 /usr/local/Library/Formula/ruby.rb
1.9.3-p392 git checkout 6c26d0a /usr/local/Library/Formula/ruby.rb
1.9.3-p385 git checkout e5b9678 /usr/local/Library/Formula/ruby.rb
1.9.3-p374 git checkout b0f8027 /usr/local/Library/Formula/ruby.rb
1.9.3-p362 git checkout 62b8c63 /usr/local/Library/Formula/ruby.rb
1.9.3-p327 git checkout 1734e5b /usr/local/Library/Formula/ruby.rb
1.9.3-p286 git checkout 1b726f7 /usr/local/Library/Formula/ruby.rb
1.9.3-p194 git checkout 9c6ea53 /usr/local/Library/Formula/ruby.rb
1.9.3-p125 git checkout bf3dfa9 /usr/local/Library/Formula/ruby.rb
1.9.3-p0 git checkout 7338ed6 /usr/local/Library/Formula/ruby.rb
1.9.2-p290 git checkout b6aa338 /usr/local/Library/Formula/ruby.rb
1.9.2-p180 git checkout 83ed494 /usr/local/Library/Formula/ruby.rb
1.9.2-p136 git checkout f282737 /usr/local/Library/Formula/ruby.rb
1.9.2-p0 git checkout 773915d /usr/local/Library/Formula/ruby.rb
1.9.1-p378 git checkout d0efd9e /usr/local/Library/Formula/ruby.rb
1.9.1-p243 git checkout d0ed812 /usr/local/Library/Formula/ruby.rb
Error: No available formula for ruby
$ cd /usr/local/
$ git checkout 6c26d0a /usr/local/Library/Formula/ruby.rb
$ brew unlink ruby
$ brew install ruby
gemのpath設定のために
$ cd /tmp
$ git clone git://github.com/indirect/brewbygems.git
$ cd brewbygems/
$ rake install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment