Last active
August 29, 2015 14:09
-
-
Save MischaTheEvil/199bb8601ca96d443d5c to your computer and use it in GitHub Desktop.
rvm/rvm#3144: full session log which displays the unexpected behavior
This file contains hidden or 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
============ | |
Part one: | |
============ | |
root@ubuntu:~# cd /var/www/ | |
root@ubuntu:/var/www# type rvm | head -1 | |
rvm is a function | |
root@ubuntu:/var/www# rvm debug | |
ruby-2.1.5: | |
rvm 1.26.1 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] | |
ruby-2.1.5: | |
system: | |
uname: "Linux ubuntu 3.13.0-39-generic #66~precise1-Ubuntu SMP Wed Oct 29 09:59:20 UTC 2014 i686 i686 i386 GNU/Linux" | |
system: "ubuntu/12.04/i386" | |
bash: "/bin/bash => GNU bash, version 4.2.25(1)-release (i686-pc-linux-gnu)" | |
zsh: " => not installed" | |
rvm: | |
version: "rvm 1.26.1 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]" | |
updated: "20 hours 39 minutes 2 seconds ago" | |
path: "/usr/local/rvm" | |
ruby: | |
interpreter: "ruby" | |
version: "2.1.5p273" | |
date: "2014-11-13" | |
platform: "i686-linux" | |
patchlevel: "2014-11-13 revision 48405" | |
full_version: "ruby 2.1.5p273 (2014-11-13 revision 48405) [i686-linux]" | |
homes: | |
gem: "/usr/local/rvm/gems/ruby-2.1.5" | |
ruby: "/usr/local/rvm/rubies/ruby-2.1.5" | |
binaries: | |
ruby: "/usr/local/rvm/rubies/ruby-2.1.5/bin/ruby" | |
irb: "/usr/local/rvm/rubies/ruby-2.1.5/bin/irb" | |
gem: "/usr/local/rvm/rubies/ruby-2.1.5/bin/gem" | |
rake: "/usr/local/rvm/rubies/ruby-2.1.5/bin/rake" | |
environment: | |
PATH: "/usr/local/rvm/gems/ruby-2.1.5/bin:/usr/local/rvm/gems/ruby-2.1.5@global/bin:/usr/local/rvm/rubies/ruby-2.1.5/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/git-when-merged/bin:/opt/passenger/passenger-latest/bin" | |
GEM_HOME: "/usr/local/rvm/gems/ruby-2.1.5" | |
GEM_PATH: "/usr/local/rvm/gems/ruby-2.1.5:/usr/local/rvm/gems/ruby-2.1.5@global" | |
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-2.1.5" | |
IRBRC: "/usr/local/rvm/rubies/ruby-2.1.5/.irbrc" | |
RUBYOPT: "" | |
gemset: "" | |
PATH: | |
/usr/local/rvm/gems/ruby-2.1.5/bin:/usr/local/rvm/gems/ruby-2.1.5@global/bin:/usr/local/rvm/rubies/ruby-2.1.5/bin:/usr/local/rvm/bin:/usr/local/sbin | |
uname -a: Linux ubuntu 3.13.0-39-generic #66~precise1-Ubuntu SMP Wed Oct 29 09:59:20 UTC 2014 i686 i686 i386 GNU/Linux | |
permissions: /usr/local/rvm: | |
total 140 | |
drwxrwsr-x 27 root rvm 4096 Jun 14 04:37 . | |
drwxr-xr-x 12 root root 4096 Oct 7 04:52 .. | |
drwxrwsr-x 2 root rvm 4096 Nov 15 08:03 archives | |
drwxrwsr-x 2 root rvm 4096 Nov 15 07:59 bin | |
drwxrwsr-x 3 root rvm 4096 Nov 15 08:14 config | |
drwxrwsr-x 3 root rvm 4096 Nov 23 2013 contrib | |
drwxrwsr-x 2 root rvm 4096 Mar 9 2014 docs | |
drwxrwsr-x 2 root rvm 4096 Nov 15 08:14 environments | |
drwxrwsr-x 2 root rvm 4096 Aug 24 2013 examples | |
drwxrwsr-x 2 root rvm 4096 Oct 28 02:53 gem-cache | |
drwxrwsr-x 9 root rvm 4096 Nov 15 08:14 gems | |
drwxrwsr-x 4 root rvm 4096 Nov 15 07:59 gemsets | |
drwxrwsr-x 3 root rvm 4096 Mar 29 2014 help | |
drwxrwsr-x 2 root rvm 4096 Sep 6 20:15 hooks | |
-rw-rw-r-- 1 root rvm 11 Nov 15 07:59 installed.at | |
drwxrwsr-x 3 root rvm 4096 Aug 24 2013 lib | |
-rw-rw-r-- 1 root rvm 603 Mar 29 2014 LICENCE | |
-rw-rw-r-- 1 root rvm 603 Nov 15 07:59 LICENSE | |
drwxrwsr-x 123 root rvm 4096 Nov 15 08:14 log | |
drwxrwsr-x 3 root rvm 4096 Aug 24 2013 man | |
drwxrwsr-x 10 root rvm 4096 Aug 24 2013 patches | |
drwxrwsr-x 5 root rvm 4096 Jan 12 2014 patchsets | |
-rw-rw-r-- 1 root rvm 9699 Nov 15 07:59 README | |
-rw-rw-r-- 1 root rvm 7 Nov 15 07:59 RELEASE | |
drwxrwsr-x 3 root rvm 4096 Jun 14 04:37 repos | |
drwxrwsr-x 4 root rvm 4096 Nov 15 08:14 rubies | |
drwxrwsr-x 5 root rvm 4096 Mar 29 2014 scripts | |
drwxrwsr-x 3 root rvm 4096 Nov 23 2013 share | |
drwxrwsr-x 11 root rvm 4096 Nov 15 08:14 src | |
drwxrwsr-x 2 root rvm 4096 Nov 15 08:04 tmp | |
drwxrwsr-x 2 root rvm 4096 Nov 15 08:14 user | |
-rw-rw-r-- 1 root rvm 7 Nov 15 07:59 VERSION | |
drwxrwsr-x 2 root rvm 4096 Nov 15 08:14 wrappers | |
/usr/local/rvm/rubies: | |
total 16 | |
drwxrwsr-x 4 root rvm 4096 Nov 15 08:14 . | |
drwxrwsr-x 27 root rvm 4096 Jun 14 04:37 .. | |
lrwxrwxrwx 1 root rvm 32 Nov 15 08:14 default -> /usr/local/rvm/rubies/ruby-2.1.5 | |
drwxrwsr-x 5 root rvm 4096 Jun 14 04:43 ruby-1.8.7-head | |
drwxrwsr-x 6 root rvm 4096 Nov 15 08:04 ruby-2.1.5 | |
/root/.bashrc: | |
/usr/local/rvm/config/alias \(filtered\): | |
default=ruby-2.1.5 | |
/usr/local/rvm/config/db \(filtered\): | |
#General | |
niceness=0 | |
# Rubies | |
interpreter=ruby | |
default_ruby=ruby | |
ruby_repo_url=git://github.com/ruby/ruby.git | |
ruby_url=http://cache.ruby-lang.org/pub/ruby | |
ruby_url_fallback_1=http://ftp.ruby-lang.org/pub/ruby | |
ruby_url_fallback_2=http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby | |
unmaintained_ruby=1.9.3 | |
unmaintained_date=2014-02-23 | |
ruby_version=2.1.5 | |
ruby_2.2.0_patch_level=preview1 | |
ruby_2.0.0_patch_level=p598 | |
ruby_1.9.3_patch_level=p551 | |
ruby_1.9.2_patch_level=p330 | |
ruby_1.9.1_patch_level=p431 | |
ruby_1.8.7_patch_level=head | |
ruby_1.8.6_patch_level=p420 | |
ruby_1.8.5_patch_level=p231 | |
CentOS_5_ruby_1.9.2_patch_level=p320 | |
CentOS_5_ruby_1.9.2_patch_level_warn=Warning, Centos 5 can not build head version of ruby, falling back to latest patchlevel, your ruby will be less secure bacuase of this. | |
CentOS_5_ruby_1.8.7_patch_level=p374 | |
CentOS_5_ruby_1.8.7_patch_level_warn=Warning, Centos 5 can not build head version of ruby, falling back to latest patchlevel, your ruby will be less secure bacuase of this. | |
rubygems_url=http://production.cf.rubygems.org/rubygems | |
rubygems_repo_url=git://github.com/rubygems/rubygems.git | |
rubygems_version=latest-2.4 | |
ree_1.8.6_rubygems_version=1.3.7 | |
ree_1.8.7_rubygems_version=latest-2.0 | |
ruby_1.8.4_rubygems_version=1.3.5 | |
ruby_1.8.5_rubygems_version=1.3.5 | |
ruby_1.8.6_rubygems_version=1.3.7 | |
ruby_1.8.7_rubygems_version=latest-2.0 | |
ruby_1.9.1_rubygems_version=latest-1.8 | |
ruby_head_rubygems_version=head | |
gem_gem-wrappers_version=>=1.2.7 | |
gem_gem-empty_version=>=1.0.0 | |
gem_rdoc_version=>=4.1.1 | |
gem_rvm_version=>=1.11.3.9 | |
rbx_version=2.2.10 | |
rbx_1.0.0_patch_level=20100514 | |
rbx_1.0.1_patch_level=20100603 | |
rbx_1.1.0_patch_level=20100923 | |
rbx_1.1.1_patch_level=20101116 | |
rbx_1.2.0_patch_level=20101221 | |
rbx_1.2.1_patch_level=20110215 | |
rbx_1.2.2_patch_level=20110222 | |
rbx_1.2.3_patch_level=20110315 | |
rbx_1.2.4_patch_level=20110705 | |
rbx_url=http://asset.rubini.us | |
rbx_2.0.0_url=http://releases.rubini.us | |
rubinius_repo_url=git://github.com/rubinius/rubinius.git | |
ree_version=1.8.7 | |
ree_configure_flags=--dont-install-useful-gems | |
ree_1.8.6_patch_level=20090610 | |
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677 | |
ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git | |
ree_1.8.7_url=http://rubyenterpriseedition.googlecode.com/files | |
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187-330 | |
ree_1.8.7_patch_level=2012.02 | |
ree_1.8.7_2010.02_url=http://rubyforge.org/frs/download.php/71096 | |
mruby_repo_url=git://github.com/mruby/mruby.git | |
mruby_url=https://github.com/mruby/mruby/archive | |
mruby_version=1.0.0 | |
jruby_version=1.7.16.1 | |
jruby_repo_url=git://github.com/jruby/jruby.git | |
jruby_url=http://jruby.org.s3.amazonaws.com/downloads | |
macruby_version=0.12 | |
macruby_0.10_url=http://macruby.macosforge.org/files | |
macruby_url=https://github.com/downloads/MacRuby/MacRuby | |
macruby_repo_url=git://github.com/MacRuby/MacRuby.git | |
macruby_nightly_url=http://macruby.jp/files/nightlies | |
maglev_version=head | |
maglev_url=http://seaside.gemtalksystems.com/maglev | |
maglev_repo_url=git://github.com/MagLev/maglev.git | |
ironruby_version=1.1.3 | |
ironruby_repo_url=git://github.com/ironruby/ironruby.git | |
ironruby_1.1.3_url=http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=ironruby&DownloadId=217153&FileTime=129445296766130000&Build=19727 | |
topaz_version=head | |
topaz_repo_url=git://github.com/topazproject/topaz.git | |
topaz_url=http://builds.topazruby.com | |
rvm_remote_server_url=https://rvm.io/binaries | |
rvm_remote_server_url1=https://s3.amazonaws.com/jruby.org | |
rvm_remote_server_path1=downloads | |
rvm_remote_server_url2=http://binaries.rubini.us | |
rvm_remote_server_url3=https://rubies.travis-ci.org | |
# rvm_remote_server_url4=http://gentoo-binaries.my-custom-server.com | |
# rvm_remote_server_path4=ec2-2013.09 | |
# Packages | |
readline_url=http://ftp.gnu.org/gnu/readline | |
libiconv_url=http://ftp.gnu.org/pub/gnu/libiconv | |
curl_url=http://curl.haxx.se/download | |
openssl_url=http://www.openssl.org/source | |
openssl_version=1.0.1i | |
zlib_url=http://prdownloads.sourceforge.net/libpng | |
autoconf_url=http://ftp.gnu.org/gnu/autoconf | |
ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses | |
pkg-config_url=http://pkgconfig.freedesktop.org/releases | |
gettext_url=http://ftp.gnu.org/pub/gnu/gettext | |
libxml2_url=ftp://xmlsoft.org/libxml2 | |
libxslt_url=ftp://xmlsoft.org/libxslt | |
yaml_url=http://pyyaml.org/download/libyaml | |
yaml_version=0.1.6 | |
glib_url=http://ftp.gnome.org/pub/gnome/sources/glib/2.23 | |
mono_url=http://ftp.novell.com/pub/mono/sources/mono | |
llvm_url=https://llvm.org/svn/llvm-project/llvm/trunk | |
# CentOS / Fedora EPEL | |
epel6_i386_rpm=https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
epel6_x86_64_rpm=https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
epel5_i386_rpm=https://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm | |
epel5_x86_64_rpm=https://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
maven_version=3.1.1 | |
/etc/rvmrc \(filtered\): | |
umask u=rwx,g=rwx,o=rx | |
gem sources: | |
https://rubygems.org/ | |
root@ubuntu:/var/www# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
=> (default) | |
github-pages | |
global | |
redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www# cd redmine-master.local.lan/ | |
root@ubuntu:/var/www/redmine-master.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
=> redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www/redmine-master.local.lan# cd .. | |
root@ubuntu:/var/www# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
=> (default) | |
github-pages | |
global | |
redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www# cd redmine-trunk.local.lan/ | |
root@ubuntu:/var/www/redmine-trunk.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
redmine_master | |
=> redmine_trunk | |
root@ubuntu:/var/www/redmine-trunk.local.lan# cd .. | |
root@ubuntu:/var/www# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
=> (default) | |
github-pages | |
global | |
redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www# cd redmine-master.local.lan/ | |
root@ubuntu:/var/www/redmine-master.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
=> redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www/redmine-master.local.lan# cd ../redmine-trunk.local.lan/ | |
root@ubuntu:/var/www/redmine-trunk.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
redmine_master | |
=> redmine_trunk | |
root@ubuntu:/var/www/redmine-trunk.local.lan# cd .. | |
root@ubuntu:/var/www# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
=> redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www# | |
============ | |
Part two: | |
============ | |
root@ubuntu:/var/www# rvm gemset use default | |
Using ruby-2.1.5 with gemset default | |
root@ubuntu:/var/www# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
=> (default) | |
github-pages | |
global | |
redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www# cd redmine-master.local.lan/ | |
root@ubuntu:/var/www/redmine-master.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
=> redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www/redmine-master.local.lan# cd ../redmine-trunk.local.lan/ | |
root@ubuntu:/var/www/redmine-trunk.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
redmine_master | |
=> redmine_trunk | |
root@ubuntu:/var/www/redmine-trunk.local.lan# cd ../redmine-master.local.lan/ | |
root@ubuntu:/var/www/redmine-master.local.lan# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
=> redmine_master | |
redmine_trunk | |
root@ubuntu:/var/www/redmine-master.local.lan# cd .. | |
root@ubuntu:/var/www# rvm gemset list | |
gemsets for ruby-2.1.5 (found in /usr/local/rvm/gems/ruby-2.1.5) | |
(default) | |
github-pages | |
global | |
redmine_master | |
=> redmine_trunk | |
root@ubuntu:/var/www# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment