Skip to content

Instantly share code, notes, and snippets.

@AntelopeSalad
Last active January 1, 2016 18:29
Show Gist options
  • Save AntelopeSalad/8184005 to your computer and use it in GitHub Desktop.
Save AntelopeSalad/8184005 to your computer and use it in GitHub Desktop.
rvm reinstall with --debug
$ rvm reinstall ruby-2.1.0 --debug
ruby-2.1.0 - reinstall
ruby-2.1.0 - #already removed src
Log prefix: /home/nick/.rvm/log/1388426228_ruby-2.1.0/
Log filesystem: ext4
Log max name length: 250
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/remove.rubies.log
[2013-12-30 12:57:08] __rvm_rm_rf
__rvm_rm_rf ()
{
__rvm_rm_rf_verbose "$@"
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(2): __rvm_rm_rf /home/nick/.rvm/rubies/ruby-2.1.0
ruby-2.1.0 - #removing rubies.
ruby-2.1.0 - #already removed src
ruby-2.1.0 - #already removed rubies
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.1.0.tar.bz2
rvm_autolibs_flag=4
Checking requirements for ubuntu.
requirements code for ubuntu loaded
Found required packages: bash, curl, patch, bzip2, ca-certificates, gawk, g++, gcc, make, libc6-dev, patch, openssl, ca-certificates, libreadline6, libreadline6-dev, curl, zlib1g, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, bison, pkg-config, libffi-dev.
Requirements installation successful.
Free disk space 1065MB, required 100MB.
ruby-2.1.0 - #configure
ruby-2.1.0 - #download
Archive checksum matched, not downloading
Downloaded archive checksum matched.
ruby-2.1.0 - #validate archive
__rvm_package_list:1: /home/nick/.rvm/archives/bin-ruby-2.1.0.tar.bz2
__rvm_package_list:1: /home/nick/.rvm/archives/bin-ruby-2.1.0.tar.bz2
ruby-2.1.0 - #extract
__rvm_package_extract:2: /home/nick/.rvm/archives/bin-ruby-2.1.0.tar.bz2 /home/nick/.rvm/rubies/ruby-2.1.0
ruby-2.1.0 - #validate binary
ruby-2.1.0 - #setup
no file given for __rvm_sed_i
Fixing ruby installer from '/usr/bin/install -c' to '/usr/bin/install'.
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/chmod.bin.log
[2013-12-30 12:57:47] __rvm_set_executable
__rvm_set_executable ()
{
for __file in "$@";
do
[[ -x "${__file}" ]] || chmod +x "${__file}";
done
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(9): __rvm_set_executable /home/nick/.rvm/rubies/ruby-2.1.0/bin/erb /home/nick/.rvm/rubies/ruby-2.1.0/bin/gem /home/nick/.rvm/rubies/ruby-2.1.0/bin/irb /home/nick/.rvm/rubies/ruby-2.1.0/bin/rake /home/nick/.rvm/rubies/ruby-2.1.0/bin/rdoc /home/nick/.rvm/rubies/ruby-2.1.0/bin/ri /home/nick/.rvm/rubies/ruby-2.1.0/bin/ruby /home/nick/.rvm/rubies/ruby-2.1.0/bin/testrb
ruby-2.1.0 - #making binaries executable.
rubygems_setup version:latest rvm_ruby_string:ruby-2.1.0 rvm_ruby_home:/home/nick/.rvm/rubies/ruby-2.1.0 rvm_ruby_binary:/home/nick/.rvm/rubies/ruby-2.1.0/bin/ruby
Running(15): curl --fail --location --max-redirs 10 --max-time 1800 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://rubygems.org/api/v1/versions/rubygems-update.json
ruby-2.1.0 - #downloading rubygems-2.2.0
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/rubygems.extract.log
[2013-12-30 12:57:51] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
typeset __tempdir __path __file __return;
__return=0;
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )";
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?;
if (( __return == 0 )); then
for __path in "$__tempdir"/*;
do
__file="${__path##*/}";
if [[ -n "${__file}" && -e "$2/${__file}" ]]; then
\rm -rf "$2/${__file}" || __return=$?;
fi;
\mv -f "${__path}" "$2/" || __return=$?;
done;
fi;
if [[ -n "$__tempdir" ]]; then
\rm -rf "$__tempdir";
fi;
return $__return
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(3): __rvm_package_extract /home/nick/.rvm/archives/rubygems-2.2.0.tgz /home/nick/.rvm/src
ruby-2.1.0 - #extracting rubygems-2.2.0.
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/rubygems.remove.log
[2013-12-30 12:57:52] rubygems_remove
rubygems_remove ()
{
typeset rubygems_path ruby entry;
rvm_log "Removing old Rubygems files...";
case "$rvm_ruby_string" in
rbx-*)
ruby="['prefix']"
;;
*)
ruby=".values_at('sitelibdir','vendorlibdir').detect{ |path| File.directory?(File.join(path.to_s, 'rubygems')) }.to_s"
;;
esac;
rubygems_path="$(ruby -rrbconfig -e "puts ::Kernel.const_get('RbConfig')::CONFIG$ruby")";
entries=("${rubygems_path}/ubygems.rb" "${rubygems_path}/gauntlet_rubygems.rb" "${rubygems_path}/rbconfig/");
for entry in "${entries[@]}" "${rubygems_path}/rubygems"*;
do
__rvm_rm_rf "$entry";
done
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(1): rubygems_remove
ruby-2.1.0 - #removing old rubygems.
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/rubygems.install.log
[2013-12-30 12:57:52] /home/nick/.rvm/rubies/ruby-2.1.0/bin/ruby
current path: /home/nick/.rvm/src/rubygems-2.2.0
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(7): env GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global:/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0 /home/nick/.rvm/rubies/ruby-2.1.0/bin/ruby -d /home/nick/.rvm/src/rubygems-2.2.0/setup.rb --verbose
ruby-2.1.0 - #installing rubygems-2.2.0....................
mkdir: cannot create directory `/home/nick/.rvm/gems/ruby-2.1.0@global/cache': File exists
ruby-2.1.0 - #gemset created /home/nick/.rvm/gems/ruby-2.1.0@global
Running /home/nick/.rvm/hooks/after_use_maglev
gemset definition does not exist /home/nick/.rvm/gemsets/ruby/2.1.0/global.gems
gemset definition does not exist /home/nick/.rvm/gemsets/ruby/global.gems
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/gemsets.initial.global.log
[2013-12-30 12:58:07] gemset_import
gemset_import ()
{
typeset rvm_file_name;
typeset -a gem_file_names;
unset -f gem;
__rvm_select;
gem_file_names=("${1%.gems*}.gems" "${rvm_gemset_name}.gems" "default.gems" "system.gems" ".gems");
__rvm_find_first_file rvm_file_name "${gem_file_names[@]}" || {
rvm_error "No *.gems file found.";
return 1
};
[[ -d "$rvm_ruby_gem_home/specifications/" ]] || mkdir -p "$rvm_ruby_gem_home/specifications/";
[[ -d "$rvm_gems_cache_path" ]] || mkdir -p "$rvm_gems_cache_path";
if [[ -s "$rvm_file_name" ]]; then
rvm_log "\nInstalling gems listed in $rvm_file_name file...\n";
typeset -a lines;
__rvm_read_lines lines "${rvm_file_name}";
for line in "${lines[@]}";
do
if [[ ! "${line}" =~ ^# && -n "${line// /}" ]]; then
gem_install $line || rvm_error "there was an error installing gem $line";
fi;
done;
rvm_log "\nProcessing of $rvm_file_name is complete.\n";
else
rvm_error "${rvm_file_name} does not exist to import from.";
return 1;
fi
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0@global
PATH=/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0@global
command(2): gemset_import /home/nick/.rvm/gemsets/global.gems
ruby-2.1.0 - #importing gemset /home/nick/.rvm/gemsets/global.gems..
ruby-2.1.0 - #generating global wrappers.
ruby-2.1.0 - #gemset created /home/nick/.rvm/gems/ruby-2.1.0
Running /home/nick/.rvm/hooks/after_use_maglev
gemset definition does not exist /home/nick/.rvm/gemsets/ruby/2.1.0/default.gems
gemset definition does not exist /home/nick/.rvm/gemsets/ruby/default.gems
gemset definition does not exist /home/nick/.rvm/gemsets/default.gems
ruby-2.1.0 - #generating default wrappers.
Running /home/nick/.rvm/hooks/after_use_maglev
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/gemset.pristine-ruby-2.1.0.log
[2013-12-30 12:58:13] __rvm_with
__rvm_with ()
{
( export rvm_create_flag=1;
export rvm_delete_flag=0;
export rvm_internal_use_flag=1;
export rvm_use_flag=0;
__rvm_use "$1" || return $?;
shift;
"$@" || return $? )
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(4): __rvm_with ruby-2.1.0 /home/nick/.rvm/scripts/gemsets pristine
Making gemset ruby-2.1.0 pristine.
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/gemset.pristine-ruby-2.1.0@foo.log
[2013-12-30 13:07:25] __rvm_with
__rvm_with ()
{
( export rvm_create_flag=1;
export rvm_delete_flag=0;
export rvm_internal_use_flag=1;
export rvm_use_flag=0;
__rvm_use "$1" || return $?;
shift;
"$@" || return $? )
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(4): __rvm_with ruby-2.1.0@foo /home/nick/.rvm/scripts/gemsets pristine
Making gemset ruby-2.1.0@foo pristine.
Log file: /home/nick/.rvm/log/1388426228_ruby-2.1.0/gemset.pristine-ruby-2.1.0@global.log
[2013-12-30 13:07:32] __rvm_with
__rvm_with ()
{
( export rvm_create_flag=1;
export rvm_delete_flag=0;
export rvm_internal_use_flag=1;
export rvm_use_flag=0;
__rvm_use "$1" || return $?;
shift;
"$@" || return $? )
}
current path: /home/nick/Development/Chef
GEM_HOME=/home/nick/.rvm/gems/ruby-2.1.0
PATH=/home/nick/.rvm/gems/ruby-2.1.0/bin:/home/nick/.rvm/gems/ruby-2.1.0@global/bin:/home/nick/.rvm/rubies/ruby-2.1.0/bin:/home/nick/.rvm/bin:/home/nick/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/go:/usr/local/go/bin:/home/nick/Development/Go/bin
GEM_PATH=/home/nick/.rvm/gems/ruby-2.1.0:/home/nick/.rvm/gems/ruby-2.1.0@global
command(4): __rvm_with ruby-2.1.0@global /home/nick/.rvm/scripts/gemsets pristine
Making gemset ruby-2.1.0@global pristine..
Error running '__rvm_with ruby-2.1.0@global /home/nick/.rvm/scripts/gemsets pristine',
showing last 15 lines of /home/nick/.rvm/log/1388426228_ruby-2.1.0/gemset.pristine-ruby-2.1.0@global.log
Restoring gems to pristine condition...
bigdecimal-1.2.3 bundler-1.5.0 ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /home/nick/.rvm/gems/ruby-2.1.0@global/cache/bundler-1.5.0.gem
bundler-unload-1.0.2 ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /home/nick/.rvm/gems/ruby-2.1.0@global/cache/bundler-unload-1.0.2.gem
executable-hooks-1.2.6 ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /home/nick/.rvm/gems/ruby-2.1.0@global/cache/executable-hooks-1.2.6.gem
gem-wrappers-1.2.1 ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /home/nick/.rvm/gems/ruby-2.1.0@global/cache/gem-wrappers-1.2.1.gem
io-console-0.4.2 json-1.8.1 minitest-4.7.5 psych-2.0.2 rake-10.1.0 rdoc-4.1.0 rubygems-bundler-1.4.2 ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /home/nick/.rvm/gems/ruby-2.1.0@global/cache/rubygems-bundler-1.4.2.gem
rvm-1.11.3.8 ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /home/nick/.rvm/gems/ruby-2.1.0@global/cache/rvm-1.11.3.8.gem
test-unit-2.1.0.0
'gem pristine bundler --version 1.5.0 bundler-unload --version 1.0.2 executable-hooks --version 1.2.6 gem-wrappers --version 1.2.1 rubygems-bundler --version 1.4.2 rvm --version 1.11.3.8' failed, you need to fix this gems manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment