monkey搭建环境报错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了monkey搭建环境报错相关的知识,希望对你有一定的参考价值。
Last login: Fri Jun 2 17:18:44 on ttys000
horuipengdeMac-mini-2:~ ruipeng$ brew
Example usage:
brew search [TEXT|/REGEX/]
brew (info|home|options) [FORMULA...]
brew install FORMULA...
brew update
brew upgrade [FORMULA...]
brew uninstall FORMULA...
brew list [FORMULA...]
Troubleshooting:
brew config
brew doctor
brew install -vd FORMULA
Developers:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]
http://docs.brew.sh/Formula-Cookbook.html
Further help:
man brew
brew help [COMMAND]
brew home
ruipengdeMac-mini-2:~ ruipeng$
ruipengdeMac-mini-2:~ ruipeng$
ruipengdeMac-mini-2:~ ruipeng$ rvm list known
# MRI Rubies
[ruby-]1.8.6[-p420]
[ruby-]1.8.7[-head] # security released on head
[ruby-]1.9.1[-p431]
[ruby-]1.9.2[-p330]
[ruby-]1.9.3[-p551]
[ruby-]2.0.0[-p648]
[ruby-]2.1[.10]
[ruby-]2.2[.6]
[ruby-]2.3[.3]
[ruby-]2.4[.0]
ruby-head
# for forks use: rvm install ruby-head-<name> --url https://github.com/github/ruby.git --branch 2.2
# JRuby
jruby-1.6[.8]
jruby-1.7[.26]
jruby[-9.1.7.0]
jruby-head
# Rubinius
rbx-1[.4.3]
rbx-2.3[.0]
rbx-2.4[.1]
rbx-2[.5.8]
rbx[-3.71]
rbx-head
# Opal
opal
# Minimalistic ruby implementation - ISO 30170:2012
mruby-1.0.0
mruby-1.1.0
mruby-1[.2.0]
mruby[-head]
# Ruby Enterprise Edition
ree-1.8.6
ree[-1.8.7][-2012.02]
# Topaz
topaz
# MagLev
maglev[-head]
maglev-1.0.0
# Mac OS X Snow Leopard Or Newer
macruby-0.10
macruby-0.11
macruby[-0.12]
macruby-nightly
macruby-head
# IronRuby
ironruby[-1.1.3]
ironruby-head
ruipengdeMac-mini-2:~ ruipeng$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/osx/10.11/x86_64/ruby-2.0.0-p648.tar.bz2
Checking requirements for osx.
Installing requirements for osx.
Updating system.........
Installing required packages: libksba..
Updating Homebrew...
==> Upgrading 2 outdated packages, with result:
openssl 1.0.2l, pkg-config 0.29.2
==> Upgrading openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2l.el_capitan.b
######################################################################## 100.0%
==> Pouring openssl-1.0.2l.el_capitan.bottle.tar.gz
==> Using the sandbox
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.
If you need to have this software first in your PATH run:
echo ‘export PATH="/usr/local/opt/openssl/bin:$PATH"‘ >> ~/.bash_profile
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
==> Summary
?? /usr/local/Cellar/openssl/1.0.2l: 1,709 files, 12.1MB
==> Upgrading pkg-config
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.2.el_capita
######################################################################## 100.0%
==> Pouring pkg-config-0.29.2.el_capitan.bottle.tar.gz
?? /usr/local/Cellar/pkg-config/0.29.2: 11 files, 627KB
Certificates in ‘/usr/local/etc/openssl/cert.pem‘ are already up to date.
Requirements installation successful.
ruby-2.0.0-p648 - #configure
ruby-2.0.0-p648 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
3 6337k 3 232k 0 0 132 0 13:39:24 0:29:59 13:09:25 0Warning: Transient problem: timeout Will retry in 2 seconds. 3 retries left.
Throwing away 237823 bytes
100 6337k 100 6337k 0 0 27443 0 0:03:56 0:03:56 --:--:-- 23495
ruby-2.0.0-p648 - #validate archive
ruby-2.0.0-p648 - #extract
ruby-2.0.0-p648 - #validate binary
ruby-2.0.0-p648 - #setup
ruby-2.0.0-p648 - #gemset created /Users/ruipeng/.rvm/gems/[email protected]
ruby-2.0.0-p648 - #importing gemset /Users/ruipeng/.rvm/gemsets/global.gems.....
ruby-2.0.0-p648 - #generating global wrappers........
ruby-2.0.0-p648 - #gemset created /Users/ruipeng/.rvm/gems/ruby-2.0.0-p648
ruby-2.0.0-p648 - #importing gemsetfile /Users/ruipeng/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.0.0-p648 - #generating default wrappers........
Updating certificates in ‘/etc/openssl/cert.pem‘.
mkdir: /etc/openssl: Permission denied
mkdir -p "/etc/openssl" failed, retrying with sudo
ruipeng password required for ‘mkdir -p /etc/openssl‘:
以上是关于monkey搭建环境报错的主要内容,如果未能解决你的问题,请参考以下文章