Ruby1.9いれなおし
portからインストールしたrubyのバージョンが、1.8.7のままだったのを思い出したので、さっくとアンインストールして、1.9.1の入れ直し。
# port uninstall rb-rubygems # port uninstall ruby
その後、以下のようにruby1.9.1をインストールしようとしたらつまづいた。
donbulinux-no-MacBook:~ donbulinux$ sudo port install ruby19 +nosuffix ---> Computing dependencies for ruby19 ---> Activating ruby19 @1.9.1-p378_0+nosuffix Error: Unable to execute port: Image error: /opt/local/bin/rake already exists and does not belong to a registered port. Unable to activate port ruby19. Before reporting a bug, first run the command again with the -d flag to get complete output.
単純に、rakeが邪魔だ、といわれているだけなので、以下のようにして解決。
# mv /opt/local/bin/rake /opt/local/bin/rake.old
その後は、Ruby1.9.1 を指定して、variantsに「nosuffix」を指定すればおk。
# port install ruby19 +nosuffix
どういう事あdってばよ!って人は、variants ruby19 してみればわかるよ!