正月早々勢いよくMacPortsを全削除。
http://guide.macports.org/#installing.macports.uninstalling
Homebrewをインストール
https://github.com/mxcl/homebrew/wiki/installation
まずはruby1.9を入れてみる
brew install ruby
親切にも、ターミナルにアドバイスをはいてくれた。
NOTE: By default, gem installed binaries will be placed into: /usr/local/Cellar/ruby/1.9.3-p0/bin You may want to add this to your PATH.
なるほどそうですか。では、.bash_profileのPATHを変更して、...ここで、アハ体験。
MacPortsで入れた物を全部消したので、MacPortsで入れたruby1.9のgemに入っていたライブラリも全部消えたな。
正月早々勢いよすぎた自分。
まあ、最低限必要なのは、自分用ローカルで使っているRailsのアプリが動けばいいんだから、Railsアプリディレクトリで
gem install bundle bundle update
でおおむね大丈夫だった。