在OSX上使用RVM安装任何ruby版本时出错 [英] Error installing any ruby version with RVM on OSX
问题描述
我在RVM安装了多个版本的Ruby时遇到了一些问题,并且在Stackoverflow上执行了一个线程,我决定完全删除它。重新安装RVM后,我无法安装任何Ruby版本。
- Mac OS X
- RVM 1.20.10稳定
- Homebrew 0.9.4
以下是一些日志:
rvm install 2.0.0-p0
或:
rvm install 2.0.0-p195 --autolibs = enabled
搜索二进制红宝石,这可能需要一些时间。
没有二进制红宝石可用于:osx / 10.8 / x86_64 / ruby-2.0.0-p0。
继续编译。请阅读rvm mount以获取有关二进制红宝石的更多信息。
安装osx的要求可能需要sudo密码。
已经是最新的。
安装所需的软件包:autoconf,automake,libtool,pkg-config,libyaml,readline,libxml2,libxslt,libksba,openssl ...
错误运行'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libxml2 libxslt libksba openssl ',
请阅读/Users/admin/.rvm/log/ruby-2.0.0-p0/1368903329_package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libxml2_libxslt_libksba_openssl.log
日志文件读取:
[2013-05-18 22:55:29] requirements_osx_brew_libs_install
错误:没有这样的小桶:/ usr / local / Cellar / autoconf
有安装包的错误,请确保读取日志。
检查Homebrew要求github.com/mxcl/homebrew/wiki/Installation
brew医生
您的系统已准备好冲泡。
brew cleanup
删除:/Library/Caches/Homebrew/automake-1.13.1.tar.gz...
错误:权限被拒绝 - /库/Caches/Homebrew/automake-1.13.1.tar.gz
brew重新安装autoconf
错误:没有这样的小桶:/ usr / local / Cellar / autoconf
帮助!
我遇到同样的问题,您需要手动安装所有需要的包使用Brew。对于我,我不得不运行以下安装:
brew install autoconf
/ pre>
brew install automake
brew install libtool
brew install apple-gcc42
brew install libyaml
brew install libxslt
brew install libksba
brew install openssl
您只需要继续运行rvm要求,并阅读日志并安装所需的软件包,直到没有更多错误。
Guys I'm about to kill myself with this one!
I had some problems with RVM installing multiple versions of Ruby, and following a thread on Stackoverflow I decided to remove it completely. After reinstalling RVM, I am unable to install any Ruby version at all.
- Mac OS X
- RVM 1.20.10 stable
- Homebrew 0.9.4
Here are some logs:
rvm install 2.0.0-p0
or:
rvm install 2.0.0-p195 --autolibs=enabled
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
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: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl…
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libxml2 libxslt libksba openssl',
please read /Users/admin/.rvm/log/ruby-2.0.0-p0/1368903329_package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libxml2_libxslt_libksba_openssl.log
Logfile reads:
[2013-05-18 22:55:29] requirements_osx_brew_libs_install
Error: No such keg: /usr/local/Cellar/autoconf
There were package installation errors, make sure to read the log.
Check Homebrew requirements github.com/mxcl/homebrew/wiki/Installation
brew doctor
Your system is ready to brew.
brew cleanup
Removing: /Library/Caches/Homebrew/automake-1.13.1.tar.gz…
Error: Permission denied — /Library/Caches/Homebrew/automake-1.13.1.tar.gz
brew reinstall autoconf
Error: No such keg: /usr/local/Cellar/autoconf
Help!
I ran into the same issue, you need to manually install all the required packages using Brew. For me I had to run the following installs:
brew install autoconf
brew install automake
brew install libtool
brew install apple-gcc42
brew install libyaml
brew install libxslt
brew install libksba
brew install openssl
You just need to keep running "rvm requirements" and reading the log and installing the packages needed until there are no more errors.
这篇关于在OSX上使用RVM安装任何ruby版本时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!