谢谢,在osx mavericks上安装rvm的错误尝试了所有的建议,但无论发生什么。
Coles-MacBook-Pro:~ coleschiffer$ \curl -sSL https://get.rvm.io | bash -s stable --rails
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
Installing RVM to /Users/coleschiffer/.rvm/
RVM PATH line found in /Users/coleschiffer/.profile /Users/coleschiffer/.bashrc /Users/coleschiffer/.zshrc.
RVM sourcing line found in /Users/coleschiffer/.zlogin.
RVM sourcing line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
Installation of RVM in /Users/coleschiffer/.rvm/ is almost complete:
* To start using RVM you need to run `source /Users/coleschiffer/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# coleschiffer,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
rvm 1.25.21 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-2.1.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system... ..
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl...
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libksba openssl',
showing last 15 lines of /Users/coleschiffer/.rvm/log/1395513147_ruby-2.1.1/package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libksba_openssl.log
++ /scripts/functions/logging : rvm_pretty_print() 81 > case "$1" in
++ /scripts/functions/logging : rvm_pretty_print() 82 > [[ -t 1 ]]
++ /scripts/functions/logging : rvm_pretty_print() 82 > return 1
++ /scripts/functions/logging : rvm_warn() 139 > printf %b 'There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation\n'
There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
++ /scripts/functions/requirements/osx_brew : requirements_osx_brew_libs_install() 63 > case "$_system_version" in
++ /scripts/functions/requirements/osx_brew : requirements_osx_brew_libs_install() 70 > return 1
Requirements installation failed with status: 1.
Coles-MacBook-Pro:~ coleschiffer$ brew tap --repair
Pruned 0 dead formula
Tapped 129 formula
Coles-MacBook-Pro:~ coleschiffer$ brew doctor
Your system is ready to brew.
Coles-MacBook-Pro:~ coleschiffer$
感谢一百万
我一直试图在铁路上安装红宝石两天,所有的帮助都会受到影响!
答案 0 :(得分:3)
我不认为你需要使用brew来实现你想要完成的任务。您发布的命令\curl -sSL https://get.rvm.io | bash -s stable --rails
使用了railsinstaller,如rvm website所述。
如果您查看railsinstaller website,它目前会说“请不要在OSX Mavericks上运行安装程序,直到另行通知。”
正如CWitty所说,最好的办法是分别安装rubygems和rails。
首先使用ruby安装稳定版本的RVM:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
$ gem update --system # may need to be administrator or root
最后install rails using rubygems:
gem install rails