Mac OS XにRubyをインストールしたら失敗した話し


Rubyプログラミングを始めるための基礎知識とインストール

↑辺りを参照しながらインストールしたところ、RVMを使ってRubyをインストールするところでエラーが発生・・・。

error
sudo rvm install ruby-2.1.1 --default
Password:
Unknown ruby string (do not know how to handle): ruby-2.1.1.
Unknown ruby string (do not know how to handle): ruby-2.1.1.
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.1.tar.bz2
Checking requirements for osx.
Installing requirements for osx.
Updating system....
Installing required packages: automake, libtool, pkg-config, libyaml, readline, libksba, openssl....
Error running 'requirements_osx_brew_libs_install automake libtool pkg-config libyaml readline libksba openssl',
showing last 15 lines of /Users/ha_ru_ma_ki/.rvm/log/1406698855_ruby-2.1.1/package_install_automake_libtool_pkg-config_libyaml_readline_libksba_openssl.log
以下、略

どうやらパッケージが自動でインストールされなかったっぽいので、、、

Installing required packages: automake, libtool, pkg-config, libyaml, readline, libksba, openssl....
Error running 'requirements_osx_brew_libs_install automake libtool pkg-config libyaml readline libksba openssl',

手動でインストールしたところ、

brew install automake
brew install libtool
brew install pkg-config
brew install libyaml
brew install readline
brew install libksba
brew install openssl

Ruby のインストールも成功

Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
ruby-2.1.1 - #configure
ruby-2.1.1 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6671k  100 6671k    0     0   685k      0  0:00:09  0:00:09 --:--:--  972k
ruby-2.1.1 - #validate archive
ruby-2.1.1 - #extract
ruby-2.1.1 - #validate binary
ruby-2.1.1 - #setup
ruby-2.1.1 - #gemset created /Users/ha_ru_ma_ki/.rvm/gems/ruby-2.1.1@global
ruby-2.1.1 - #importing gemset /Users/ha_ru_ma_ki/.rvm/gemsets/global.gems....................................
ruby-2.1.1 - #generating global wrappers........
ruby-2.1.1 - #gemset created /Users/ha_ru_ma_ki/.rvm/gems/ruby-2.1.1
ruby-2.1.1 - #importing gemsetfile /Users/ha_ru_ma_ki/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.1.1 - #generating default wrappers........
Updating certificates in '/etc/openssl/cert.pem'.