Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 使用brew在osx mavericks上安装rvm时出错_Ruby On Rails_Ruby_Rvm_Osx Mavericks - Fatal编程技术网

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

Ruby on rails 使用brew在osx mavericks上安装rvm时出错,ruby-on-rails,ruby,rvm,osx-mavericks,Ruby On Rails,Ruby,Rvm,Osx Mavericks,谢谢,在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/

谢谢,在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$ 
Coles-MacBook-Pro:~coleschiffer$\curl-sSLhttps://get.rvm.io |bash-s-stable-rails
正在下载https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
将RVM安装到/Users/coleschiffer/.RVM/
RVM路径行位于/Users/coleschiffer/.profile/Users/coleschiffer/.bashrc/Users/coleschiffer/.zshrc中。
RVM采购行位于/Users/coleschiffer/.zlogin。
找不到Bash的RVM寻源行,请使用“-auto dotfiles”标志重新运行此命令以修复它。
RVM在/Users/coleschiffer/.RVM/中的安装已基本完成:
*要开始使用RVM,需要运行`source/Users/coleschiffer/.RVM/scripts/RVM`
在所有打开的shell窗口中,在极少数情况下需要重新打开所有shell窗口。
#科尔希弗,
#
#感谢您使用RVM!
#我们真诚地希望RVM能让您的生活更加轻松愉快!!!
#
#~Wayne、Michal和团队。
如果出现问题:http://rvm.io/help 及https://twitter.com/rvm_io
rvm 1.25.21(稳定)作者:韦恩E.塞根,迈克尔·帕皮斯[https://rvm.io/]
搜索二进制红宝石,这可能需要一些时间。
没有二进制ruby可用于:osx/10.9/x86_64/ruby-2.1.1。
继续汇编。请阅读“rvm帮助挂载”以获取有关二进制红宝石的更多信息。
检查osx的需求。
osx的安装要求。
正在更新系统。。
安装必需的软件包:autoconf、automake、libtool、pkg config、libyaml、readline、libksba、openssl。。。
运行“requirements\u osx\u brew\u libs\u install autoconf automake libtool pkg config libyaml readline libksba openssl”时出错,
显示最后15行/Users/coleschiffer/.rvm/log/1395513147\u ruby-2.1.1/package\u install\u autoconf\u automake\u libtool\u pkg-config\u libyaml\u readline\u libksba\u openssl.log
++/scripts/functions/logging:rvm_pretty_print()81>中的大小写“$1”
++/scripts/functions/logging:rvm_pretty_print()82>[[-t 1]]
++/scripts/functions/logging:rvm_pretty_print()82>返回1
++/scripts/functions/logging:rvm_warn()139>printf%b“存在程序包安装错误,请确保阅读日志。
尝试“brew tap--repair”,并确保“brew doctor”看起来合理。
检查自制软件的要求https://github.com/mxcl/homebrew/wiki/Installation\不
出现包安装错误,请确保阅读日志。
尝试“brew tap--repair”,并确保“brew doctor”看起来合理。
检查自制软件的要求https://github.com/mxcl/homebrew/wiki/Installation
++/scripts/functions/requirements/osx\u brew:requirements\u osx\u brew\u libs\u install()63>中的case“$\u system\u version”
++/scripts/functions/requirements/osx_brew:requirements_osx_brew_libs_install()70>返回1
需求安装失败,状态为:1。
Coles MacBook Pro:~coleschiffer$brew水龙头——修复
修剪0死公式
第129条公式
科尔斯MacBook Pro:~coleschiffer$brew博士
您的系统已准备好进行brew。
Coles MacBook Pro:~coleschiffer$
万分感谢 我已经尝试安装ruby on rails两天了,如果有任何帮助,我将不胜感激

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

如果你看一下,它现在说“请不要在OSX Mavericks上运行安装程序,直到另行通知。”

正如CWitty提到的,最好的选择可能是分别安装rubygems和rails

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

\curl-sSLhttps://get.rvm.io |bash-s稳定--ruby

然后:

$gem update--系统#可能需要是管理员或root用户

最后:


gem-install-rails

您是否尝试过
brew-tap--repair
?您还可以安装rubygems并执行gem-install-rails。我会尝试更新homebrew并执行上面提到的代码以及brew doctor。也可以尝试一下,因为sudoI尝试“brew tap--repair”将尝试sudo并尝试brew更新brew,如果您能在底部看到,谢谢您的帮助