Mac 环境,参照http://ruby-china.org/wiki/install_ruby_guide这里安装的 rvm pkg install readline 前面都执行过了,rvm 也正常安装,安装 readline 失败,不知道是什么原因
$ rvm pkg install readline
Beware, 'rvm pkg ...' is deprecated, read about the new autolibs feature: 'rvm help autolibs'.
Checking requirements for osx.
Installing macports..........................................................................................................................................................................................................
Error running 'requirements_osx_port_install_port',
please read /Users/gavin/.rvm/log/1384061565/port_install.log
Requirements installation failed with status: 1.
Fetching readline-5.2.tar.gz to /Users/gavin/.rvm/archives
Extracting readline to /Users/gavin/.rvm/src/readline-5.2
Applying patch '/Users/gavin/.rvm/patches/readline-5.2/shobj-conf.patch'....
Prepare readline in /Users/gavin/.rvm/src/readline-5.2..
Error running '__rvm_autoreconf -is --force',
please read /Users/gavin/.rvm/log/1384061565/readline_autoreconf.log
Configuring readline in /Users/gavin/.rvm/src/readline-5.2................................................................................................................................................................
Compiling readline in /Users/gavin/.rvm/src/readline-5.2..................................................................................................................................................................................................................................................................................................................................................................................................................................................
Installing readline to /Users/gavin/.rvm/usr..................................................................................
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Fetching readline-6.2.tar.gz to /Users/gavin/.rvm/archives
Extracting readline to /Users/gavin/.rvm/src/readline-6.2
Applying patch '/Users/gavin/.rvm/patches/readline-6.2/patch-shobj-conf.diff'....
Prepare readline in /Users/gavin/.rvm/src/readline-6.2..
Error running '__rvm_autoreconf -is --force',
please read /Users/gavin/.rvm/log/1384061565/readline_autoreconf.log
Configuring readline in /Users/gavin/.rvm/src/readline-6.2.............................................................................................................................................................................
Compiling readline in /Users/gavin/.rvm/src/readline-6.2...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Installing readline to /Users/gavin/.rvm/usr.........................................................................
Please note that it's required to reinstall all rubies:
rvm reinstall all --force