Created
March 9, 2018 05:31
-
-
Save woei66/80f9e5aa840aad498b7178a669892490 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ec2 ~]# more /usr/local/rvm/log/1520572663_ruby-2.4.2/gemset.wrappers.global.log | |
[2018-03-09 05:21:22] run_gem_wrappers_regenerate | |
run_gem_wrappers_regenerate () | |
{ | |
gem_install gem-wrappers && gem wrappers regenerate || return $? | |
} | |
current path: /usr/local/rvm/src/ruby-2.4.2 | |
GEM_HOME=/usr/local/rvm/gems/ruby-2.4.2@global | |
PATH=/usr/local/rvm/gems/ruby-2.4.2@global/bin:/usr/local/rvm/rubies/ruby-2.4.2/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
GEM_PATH=/usr/local/rvm/gems/ruby-2.4.2@global | |
command(1): run_gem_wrappers_regenerate | |
++ gem_install gem-wrappers | |
++ typeset gem_name gem_version version_check | |
++ gem_version= | |
++ __rvm_parse_gems_args gem-wrappers | |
++ typeset gem=gem-wrappers | |
++ __rvm_string_match gem-wrappers '*.gem$' | |
++ typeset _string | |
++ _string=gem-wrappers | |
++ shift | |
++ (( 1 )) | |
++ case "${_string}" in | |
++ shift | |
++ (( 0 )) | |
++ return 1 | |
++ gem_name=gem-wrappers | |
++ case "$gem" in | |
++ [[ -z '' ]] | |
++ __rvm_db gem_gem-wrappers_version gem_version | |
++ typeset value key variable | |
++ key=gem_gem-wrappers_version | |
++ variable=gem_version | |
++ value= | |
++ [[ -f /usr/local/rvm/user/db ]] | |
+++ __rvm_db_ /usr/local/rvm/user/db gem_gem-wrappers_version | |
+++ typeset __db __key __value | |
+++ __db=/usr/local/rvm/user/db | |
+++ __key=gem_gem-wrappers_version | |
+++ shift 2 | |
+++ __value= | |
+++ case "${__value}" in | |
+++ __rvm_db_get /usr/local/rvm/user/db gem_gem-wrappers_version | |
+++ [[ -f /usr/local/rvm/user/db ]] | |
+++ __rvm_sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
+++ sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
++ value= | |
++ [[ -z '' ]] | |
++ [[ -f /usr/local/rvm/config/db ]] | |
+++ __rvm_db_ /usr/local/rvm/config/db gem_gem-wrappers_version | |
+++ typeset __db __key __value | |
+++ __db=/usr/local/rvm/config/db | |
+++ __key=gem_gem-wrappers_version | |
+++ shift 2 | |
+++ __value= | |
+++ case "${__value}" in | |
+++ __rvm_db_get /usr/local/rvm/config/db gem_gem-wrappers_version | |
+++ [[ -f /usr/local/rvm/config/db ]] | |
+++ __rvm_sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
+++ sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
++ value='>=1.3.2' | |
++ [[ -n >=1.3.2 ]] | |
++ [[ -n gem_version ]] | |
++ eval 'gem_version='\''>=1.3.2'\''' | |
+++ gem_version='>=1.3.2' | |
++ true | |
++ (( 0 == 0 )) | |
++ is_gem_installed | |
++ typeset gem_spec | |
++ gem_spec='gem '\''gem-wrappers'\''' | |
++ [[ -n >=1.3.2 ]] | |
++ gem_spec+=', '\''>=1.3.2'\''' | |
++ version_check=1.3.2 | |
++ ls --color=auto -ld /usr/local/rvm/gems/ruby-2.4.2@global/gems/gem-wrappers-1.3.2 | |
++ /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -rrubygems -e 'gem '\''gem-wrappers'\'', '\''>=1.3.2'\''' | |
++ return 1 | |
++ gem_install_force | |
++ typeset __available_gem | |
++ typeset -a install_params | |
++ install_params=() | |
+++ tail -n 1 | |
+++ ls --color=auto -v1 /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem | |
++ __available_gem=/usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem | |
++ [[ -n /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem ]] | |
++ install_params+=(--local) | |
++ install_params+=(--no-ri --no-rdoc $rvm_gem_options) | |
++ __rvm_log_command 'gem.install.gem-wrappers->=1.3.2' 'installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc' command gem install /usr/local/r | |
vm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ typeset name message _command_start _command_name | |
++ typeset -a _command | |
++ name='gem.install.gem-wrappers->=1.3.2' | |
++ message='installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc' | |
++ shift 2 | |
++ _command=("$@") | |
++ _command_start=command | |
++ (( 7 )) | |
++ [[ command == *\=* ]] | |
++ _command_name=command | |
++ [[ command != *\=* ]] | |
++ __function_on_stack __rvm_log_command_internal | |
++ __rvm_string_includes '__function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers_regenerate __rvm_log_dotted __rvm_log_command_internal __rvm_log_com | |
mand gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_without_rubygems __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_ | |
manage_rubies source __rvm_run_wrapper __rvm_cli_install_ruby rvm' __rvm_log_command_internal | |
++ typeset __search '__text=__function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers_regenerate __rvm_log_dotted __rvm_log_command_internal __rvm_log_c | |
ommand gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_without_rubygems __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rv | |
m_manage_rubies source __rvm_run_wrapper __rvm_cli_install_ruby rvm' | |
++ shift | |
++ for __search in '"$@"' | |
++ [[ __function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers_regenerate __rvm_log_dotted __rvm_log_command_internal __rvm_log_command gemset_initial | |
__rvm_with gemset_create __rvm_initial_gemsets_create_without_rubygems __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_manage_rubies sourc | |
e __rvm_run_wrapper __rvm_cli_install_ruby rvm == *\ \_\_\r\v\m\_\l\o\g\_\c\o\m\m\a\n\d\_\i\n\t\e\r\n\a\l\ * ]] | |
++ return 0 | |
++ __rvm_log_command_simple command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ __rvm_log_command_debug | |
+++ __rvm_date '+%Y-%m-%d %H:%M:%S' | |
+++ date '+%Y-%m-%d %H:%M:%S' | |
++ printf %b '[2018-03-09 05:21:22] command\n' | |
[2018-03-09 05:21:22] command | |
++ is_a_function command | |
++ typeset -f command | |
++ return 1 | |
++ printf %b 'current path: /usr/local/rvm/src/ruby-2.4.2\n' | |
current path: /usr/local/rvm/src/ruby-2.4.2 | |
++ __rvm_grep -E '^GEM_HOME=|^GEM_PATH=|^PATH=' | |
++ GREP_OPTIONS= | |
++ command grep -E '^GEM_HOME=|^GEM_PATH=|^PATH=' | |
++ grep -E '^GEM_HOME=|^GEM_PATH=|^PATH=' | |
++ env | |
GEM_HOME=/usr/local/rvm/gems/ruby-2.4.2@global | |
PATH=/usr/local/rvm/gems/ruby-2.4.2@global/bin:/usr/local/rvm/rubies/ruby-2.4.2/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
GEM_PATH=/usr/local/rvm/gems/ruby-2.4.2@global | |
++ printf %b 'command(7): command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc\n' | |
command(7): command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ rvm_log 'installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc' | |
++ [[ '' == 1 ]] | |
++ rvm_pretty_print stdout | |
++ case "${rvm_pretty_print_flag:=auto}" in | |
++ case "${TERM:-dumb}" in | |
++ case "$1" in | |
++ [[ -t 1 ]] | |
++ return 1 | |
++ printf %b 'installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc\n' | |
installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
ERROR: Loading command: install (LoadError) | |
[root@ec2 ~]# more /usr/local/rvm/log/1520572663_ruby-2.4.2/gemset.wrappers.global.log | |
[2018-03-09 05:21:22] run_gem_wrappers_regenerate | |
run_gem_wrappers_regenerate () | |
{ | |
gem_install gem-wrappers && gem wrappers regenerate || return $? | |
} | |
current path: /usr/local/rvm/src/ruby-2.4.2 | |
GEM_HOME=/usr/local/rvm/gems/ruby-2.4.2@global | |
PATH=/usr/local/rvm/gems/ruby-2.4.2@global/bin:/usr/local/rvm/rubies/ruby-2.4.2/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
GEM_PATH=/usr/local/rvm/gems/ruby-2.4.2@global | |
command(1): run_gem_wrappers_regenerate | |
++ gem_install gem-wrappers | |
++ typeset gem_name gem_version version_check | |
++ gem_version= | |
++ __rvm_parse_gems_args gem-wrappers | |
++ typeset gem=gem-wrappers | |
++ __rvm_string_match gem-wrappers '*.gem$' | |
++ typeset _string | |
++ _string=gem-wrappers | |
++ shift | |
++ (( 1 )) | |
++ case "${_string}" in | |
++ shift | |
++ (( 0 )) | |
++ return 1 | |
++ gem_name=gem-wrappers | |
++ case "$gem" in | |
++ [[ -z '' ]] | |
++ __rvm_db gem_gem-wrappers_version gem_version | |
++ typeset value key variable | |
++ key=gem_gem-wrappers_version | |
++ variable=gem_version | |
++ value= | |
++ [[ -f /usr/local/rvm/user/db ]] | |
+++ __rvm_db_ /usr/local/rvm/user/db gem_gem-wrappers_version | |
+++ typeset __db __key __value | |
+++ __db=/usr/local/rvm/user/db | |
+++ __key=gem_gem-wrappers_version | |
+++ shift 2 | |
+++ __value= | |
+++ case "${__value}" in | |
+++ __rvm_db_get /usr/local/rvm/user/db gem_gem-wrappers_version | |
+++ [[ -f /usr/local/rvm/user/db ]] | |
+++ __rvm_sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
+++ sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
++ value= | |
++ [[ -z '' ]] | |
++ [[ -f /usr/local/rvm/config/db ]] | |
+++ __rvm_db_ /usr/local/rvm/config/db gem_gem-wrappers_version | |
+++ typeset __db __key __value | |
+++ __db=/usr/local/rvm/config/db | |
+++ __key=gem_gem-wrappers_version | |
+++ shift 2 | |
+++ __value= | |
+++ case "${__value}" in | |
+++ __rvm_db_get /usr/local/rvm/config/db gem_gem-wrappers_version | |
+++ [[ -f /usr/local/rvm/config/db ]] | |
+++ __rvm_sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
+++ sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d' | |
++ value='>=1.3.2' | |
++ [[ -n >=1.3.2 ]] | |
++ [[ -n gem_version ]] | |
++ eval 'gem_version='\''>=1.3.2'\''' | |
+++ gem_version='>=1.3.2' | |
++ true | |
++ (( 0 == 0 )) | |
++ is_gem_installed | |
++ typeset gem_spec | |
++ gem_spec='gem '\''gem-wrappers'\''' | |
++ [[ -n >=1.3.2 ]] | |
++ gem_spec+=', '\''>=1.3.2'\''' | |
++ version_check=1.3.2 | |
++ ls --color=auto -ld /usr/local/rvm/gems/ruby-2.4.2@global/gems/gem-wrappers-1.3.2 | |
++ /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -rrubygems -e 'gem '\''gem-wrappers'\'', '\''>=1.3.2'\''' | |
++ return 1 | |
++ gem_install_force | |
++ typeset __available_gem | |
++ typeset -a install_params | |
++ install_params=() | |
+++ tail -n 1 | |
+++ ls --color=auto -v1 /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem | |
++ __available_gem=/usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem | |
++ [[ -n /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem ]] | |
++ install_params+=(--local) | |
++ install_params+=(--no-ri --no-rdoc $rvm_gem_options) | |
++ __rvm_log_command 'gem.install.gem-wrappers->=1.3.2' 'installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc' command gem install /usr/local/r | |
vm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ typeset name message _command_start _command_name | |
++ typeset -a _command | |
++ name='gem.install.gem-wrappers->=1.3.2' | |
++ message='installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc' | |
++ shift 2 | |
++ _command=("$@") | |
++ _command_start=command | |
++ (( 7 )) | |
++ [[ command == *\=* ]] | |
++ _command_name=command | |
++ [[ command != *\=* ]] | |
++ __function_on_stack __rvm_log_command_internal | |
++ __rvm_string_includes '__function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers_regenerate __rvm_log_dotted __rvm_log_command_internal __rvm_log_com | |
mand gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_without_rubygems __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_ | |
manage_rubies source __rvm_run_wrapper __rvm_cli_install_ruby rvm' __rvm_log_command_internal | |
++ typeset __search '__text=__function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers_regenerate __rvm_log_dotted __rvm_log_command_internal __rvm_log_c | |
ommand gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_without_rubygems __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rv | |
m_manage_rubies source __rvm_run_wrapper __rvm_cli_install_ruby rvm' | |
++ shift | |
++ for __search in '"$@"' | |
++ [[ __function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers_regenerate __rvm_log_dotted __rvm_log_command_internal __rvm_log_command gemset_initial | |
__rvm_with gemset_create __rvm_initial_gemsets_create_without_rubygems __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_manage_rubies sourc | |
e __rvm_run_wrapper __rvm_cli_install_ruby rvm == *\ \_\_\r\v\m\_\l\o\g\_\c\o\m\m\a\n\d\_\i\n\t\e\r\n\a\l\ * ]] | |
++ return 0 | |
++ __rvm_log_command_simple command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ __rvm_log_command_debug | |
+++ __rvm_date '+%Y-%m-%d %H:%M:%S' | |
+++ date '+%Y-%m-%d %H:%M:%S' | |
++ printf %b '[2018-03-09 05:21:22] command\n' | |
[2018-03-09 05:21:22] command | |
++ is_a_function command | |
++ typeset -f command | |
++ return 1 | |
++ printf %b 'current path: /usr/local/rvm/src/ruby-2.4.2\n' | |
current path: /usr/local/rvm/src/ruby-2.4.2 | |
++ __rvm_grep -E '^GEM_HOME=|^GEM_PATH=|^PATH=' | |
++ GREP_OPTIONS= | |
++ command grep -E '^GEM_HOME=|^GEM_PATH=|^PATH=' | |
++ grep -E '^GEM_HOME=|^GEM_PATH=|^PATH=' | |
++ env | |
GEM_HOME=/usr/local/rvm/gems/ruby-2.4.2@global | |
PATH=/usr/local/rvm/gems/ruby-2.4.2@global/bin:/usr/local/rvm/rubies/ruby-2.4.2/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
GEM_PATH=/usr/local/rvm/gems/ruby-2.4.2@global | |
++ printf %b 'command(7): command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc\n' | |
command(7): command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ rvm_log 'installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc' | |
++ [[ '' == 1 ]] | |
++ rvm_pretty_print stdout | |
++ case "${rvm_pretty_print_flag:=auto}" in | |
++ case "${TERM:-dumb}" in | |
++ case "$1" in | |
++ [[ -t 1 ]] | |
++ return 1 | |
++ printf %b 'installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc\n' | |
installing gem /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ command gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
++ gem install /usr/local/rvm/gem-cache/gem-wrappers-1.3.2.gem --local --no-ri --no-rdoc | |
ERROR: Loading command: install (LoadError) | |
cannot load such file -- zlib | |
ERROR: While executing gem ... (NoMethodError) | |
undefined method `invoke_with_build_args' for nil:NilClass | |
++ return 1 | |
++ return 1 | |
++ return 1 | |
++ return 1 | |
++ return 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment