0
我試圖重新安裝紅寶石,但出現錯誤。我已經包含了下面的錯誤和日誌。使用RVM重新安裝Ruby時出錯
錯誤:
rvm install ruby-1.9.3-p362
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p362.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Already up-to-date.
Installing required packages: libtool, libyaml, libxml2, libxslt, libksba, openssl, sqlite............
Error running 'requirements_brew_libs_install libtool libyaml libxml2 libxslt libksba openssl sqlite',
please read /Users/Henry/.rvm/log/ruby-1.9.3-p362/package_install_libtool_libyaml_libxml2_libxslt_libksba_openssl_sqlite.log
There were package installation errors, make sure to read the log.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
日誌文件:
cat package_install_libtool_libyaml_libxml2_libxslt_libksba_openssl_sqlite.log
[2013-03-30 21:07:08] requirements_brew_libs_install
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtool-2.4.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libtool/2.4.2 --program-prefix=g --enable- ltdl-install
checking whether make sets $(MAKE)... ./configure: /usr/local/Library/ENV/4.3/sed: /bin/bash^M: bad interpreter: No such file or directory
no
configure: error: cannot run /bin/sh libltdl/config/config.sub
./configure: /usr/local/Library/ENV/4.3/sed: /bin/bash^M: bad interpreter: No such file or directory
./configure: /usr/local/Library/ENV/4.3/sed: /bin/bash^M: bad interpreter: No such file or directory
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
感謝您的幫助! – Henry