gpt4 book ai didi

ruby-on-rails - 使用 brew 在 osx mavericks 上安装 rvm 时出错

转载 作者:太空宇宙 更新时间:2023-11-03 18:18:23 24 4
gpt4 key购买 nike

谢谢,Error installing rvm on osx mavericks 尝试了所有建议,但不管会发生什么。

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$

感谢一百万两天来我一直在尝试在 rails 上安装 ruby​​ 所有帮助都会得到帮助!

最佳答案

我认为您需要使用 brew 来完成您想要完成的任务。您发布的命令 \curl -sSL https://get.rvm.io | bash -s stable --rails 使用 railsinstaller,如 rvm website 中所述.

如果您查看 railsinstaller website ,目前显示“请不要在 OSX Mavericks 上运行安装程序,直至另行通知。”

正如 CWitty 所提到的,您最好的选择可能是分别安装 ruby​​gems 和 rails。

首先用ruby安装稳定版的RVM stable:

\curl -sSL https://get.rvm.io | bash -s stable --ruby

然后 update rubygems :

$ gem update --system # 可能需要管理员或 root

最后 install rails using rubygems :

gem 安装 rails

关于ruby-on-rails - 使用 brew 在 osx mavericks 上安装 rvm 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22581939/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com