Mac 用RVM配置ruby环境的时候出现错误No binary rubies available for: osx/10.11/x86_64/ruby-2.2.2.
2016-08-10 23:56
507 查看
No binary rubies available for: osx/10.11/x86_64/ruby-2.2.2.
Mac 用RVM配置ruby环境的时候出现错误:
LuohandeMacBook-Pro:~ LuohanCC$ rvm 2.0.0 --default
ruby-2.0.0-p643 is not installed.
To install do: 'rvm install ruby-2.0.0-p643'
LuohandeMacBook-Pro:~ LuohanCC$ rvm install ruby-2.0.0-p643
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.0.0-p643.
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.......
Error running 'requirements_osx_brew_update_system ruby-2.0.0-p643',
showing last 15 lines of /Users/LuohanCC/.rvm/log/1436950973_ruby-2.0.0-p643/update_system.log
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.\n'
Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
++ return 1
Requirements installation failed with status: 1.
原因:因Mac未安装Homebrew造成的
解决方法:在命令行输入以下指令安装Homebrew或者进入官网找到最新的下载链接
Homebrew官网:http://brew.sh/index_zh-cn.html
然后再次执行:
然后你就会看到正常的显示信息了
LuohandeMacBook-Pro:~ LuohanCC$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
LuohandeMacBook-Pro:~ LuohanCC$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.0.0-p643.
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: libyaml, libksba, openssl.......
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/LuohanCC/.rvm/rubies/ruby-2.0.0-p643, this may take a while depending on your cpu(s)...
ruby-2.0.0-p643 - #downloading ruby-2.0.0-p643, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.2M 100 10.2M 0 0 14065 0 0:12:45 0:12:45 --:--:-- 14498›
ruby-2.0.0-p643 - #extracting ruby-2.0.0-p643 to /Users/LuohanCC/.rvm/src/ruby-2.0.0-p643....
ruby-2.0.0-p643 - #configuring.................................................
ruby-2.0.0-p643 - #post-configuration.
ruby-2.0.0-p643 - #compiling.................................................................................-
ruby-2.0.0-p643 - #installing..............
ruby-2.0.0-p643 - #making binaries executable..
ruby-2.0.0-p643 - #downloading rubygems-2.4.8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 437k 100 437k 0 0 45532 0 0:00:09 0:00:09 --:--:-- 47175
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.0.0-p643 - #extracting rubygems-2.4.8....
ruby-2.0.0-p643 - #removing old rubygems.........
ruby-2.0.0-p643 - #installing rubygems-2.4.8......................
ruby-2.0.0-p643 - #gemset created /Users/LuohanCC/.rvm/gems/ruby-2.0.0-p643@global
ruby-2.0.0-p643 - #importing gemset /Users/LuohanCC/.rvm/gemsets/global.gems.................................-
ruby-2.0.0-p643 - #generating global wrappers........
ruby-2.0.0-p643 - #gemset created /Users/LuohanCC/.rvm/gems/ruby-2.0.0-p643
ruby-2.0.0-p643 - #importing gemsetfile /Users/LuohanCC/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.0.0-p643 - #generating default wrappers........
ruby-2.0.0-p643 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.0.0-p643 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
LuohandeMacBook-Pro:~ LuohanCC$ ›
注意事项:安装CocoaPots的顺序:
Xcode->homebrew->RVM->Ruby->CocoaPots;
Mac 用RVM配置ruby环境的时候出现错误:
LuohandeMacBook-Pro:~ LuohanCC$ rvm 2.0.0 --default
ruby-2.0.0-p643 is not installed.
To install do: 'rvm install ruby-2.0.0-p643'
LuohandeMacBook-Pro:~ LuohanCC$ rvm install ruby-2.0.0-p643
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.0.0-p643.
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.......
Error running 'requirements_osx_brew_update_system ruby-2.0.0-p643',
showing last 15 lines of /Users/LuohanCC/.rvm/log/1436950973_ruby-2.0.0-p643/update_system.log
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.\n'
Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
++ return 1
Requirements installation failed with status: 1.
原因:因Mac未安装Homebrew造成的
解决方法:在命令行输入以下指令安装Homebrew或者进入官网找到最新的下载链接
Homebrew官网:http://brew.sh/index_zh-cn.html
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
$ rvm install 2.0.0 |
然后你就会看到正常的显示信息了
LuohandeMacBook-Pro:~ LuohanCC$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
LuohandeMacBook-Pro:~ LuohanCC$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.0.0-p643.
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: libyaml, libksba, openssl.......
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/LuohanCC/.rvm/rubies/ruby-2.0.0-p643, this may take a while depending on your cpu(s)...
ruby-2.0.0-p643 - #downloading ruby-2.0.0-p643, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.2M 100 10.2M 0 0 14065 0 0:12:45 0:12:45 --:--:-- 14498›
ruby-2.0.0-p643 - #extracting ruby-2.0.0-p643 to /Users/LuohanCC/.rvm/src/ruby-2.0.0-p643....
ruby-2.0.0-p643 - #configuring.................................................
ruby-2.0.0-p643 - #post-configuration.
ruby-2.0.0-p643 - #compiling.................................................................................-
ruby-2.0.0-p643 - #installing..............
ruby-2.0.0-p643 - #making binaries executable..
ruby-2.0.0-p643 - #downloading rubygems-2.4.8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 437k 100 437k 0 0 45532 0 0:00:09 0:00:09 --:--:-- 47175
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.0.0-p643 - #extracting rubygems-2.4.8....
ruby-2.0.0-p643 - #removing old rubygems.........
ruby-2.0.0-p643 - #installing rubygems-2.4.8......................
ruby-2.0.0-p643 - #gemset created /Users/LuohanCC/.rvm/gems/ruby-2.0.0-p643@global
ruby-2.0.0-p643 - #importing gemset /Users/LuohanCC/.rvm/gemsets/global.gems.................................-
ruby-2.0.0-p643 - #generating global wrappers........
ruby-2.0.0-p643 - #gemset created /Users/LuohanCC/.rvm/gems/ruby-2.0.0-p643
ruby-2.0.0-p643 - #importing gemsetfile /Users/LuohanCC/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.0.0-p643 - #generating default wrappers........
ruby-2.0.0-p643 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.0.0-p643 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
LuohandeMacBook-Pro:~ LuohanCC$ ›
注意事项:安装CocoaPots的顺序:
Xcode->homebrew->RVM->Ruby->CocoaPots;
相关文章推荐
- No binary rubies available for: osx/10.8/x86_64/ruby-1.9.2-p320解决
- Mac 用RVM安装ruby 2.0.0的时候出现错误
- Mac 用RVM安装ruby 2.0.0的时候出现错误
- struts2环境配置是出现No result defined for action *** and result input”的错误信息
- mac出现错误“ld: symbol(s) not found for architecture x86_64”
- Mac 用RVM安装ruby 2.0.0的时候出现错误
- 用xcode6.3编译早期工程时出现Undefined symbols for architecture x86_64错误的解决办法(转)
- 关于mac 执行rails c出现completion.rb:9:in `require': dlopen(/Users/guoyoujin/.rvm/rubies/ruby-2.2.5/lib/ru
- Xcode技巧:项目导入外部文件后编译运行出现Undefined symbols for architecture x86_64错误
- Xcode技巧:项目导入外部文件后编译运行出现Undefined symbols for architecture x86_64错误
- Eclipse中配置Android开发环境,安装插件出现“No repository found containing”错误
- mac 下安装mysql-5.7.16-osx10.11-x86_64
- Qt5.2.1 Mac 10.9 Undefined symbols for architecture x86_64 错误解决
- 测试webservice的时候,如果出现这个错误:"The test form is only available for requests from the local machine"
- Xcode技巧:项目导入外部文件后编译运行出现Undefined symbols for architecture x86_64错误
- ubuntu下,创建ruby环境时出现 checking for Magick-config... no
- eclipse Android更新SDK或重新配置adt后出现Error retrieving parent for item: No resource found 错误
- make bzImage时出现错误gcc: error: elf_i386/elf_x86_64: No such file or directory
- mac 关于使用protobuf出现ld: symbol(s) not found for architecture x86_64的问题
- 【python】在pycharm初次使用的时候出现错误:no python interpreter configured for the project