Skip to content

Instantly share code, notes, and snippets.

@glebtv
Last active December 29, 2015 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glebtv/7653471 to your computer and use it in GitHub Desktop.
Save glebtv/7653471 to your computer and use it in GitHub Desktop.
apt-get install sudo curl vim wget
apt-get install -y build-essential libffi-dev libgdbm-dev libncurses5-dev libreadline-dev libssl-dev libyaml-dev zlib1g-dev
gleb@debian:~$ \curl -L https://get.rvm.io | bash -s stable --without-gems="rubygems-bundler"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 206 0 --:--:-- --:--:-- --:--:-- 296
100 19527 100 19527 0 0 14395 0 0:00:01 0:00:01 --:--:-- 14395
Installing RVM without gems: rubygems-bundler.
Downloading RVM branch stable
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz to rvm-stable.tgz.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 135 0 --:--:-- --:--:-- --:--:-- 179
100 1089k 100 1089k 0 0 232k 0 0:00:04 0:00:04 --:--:-- 311k
Installing RVM to /home/gleb/.rvm/
grep: /home/gleb/.rvmrc: No such file or directory
Adding rvm PATH line to /home/gleb/.bashrc /home/gleb/.zshrc.
Adding rvm loading line to /home/gleb/.bash_profile /home/gleb/.zlogin.
Installation of RVM in /home/gleb/.rvm/ is almost complete:
* To start using RVM you need to run `source /home/gleb/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# gleb,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
gleb@debian:~$ source /home/gleb/.rvm/scripts/rvm
gleb@debian:~$ rvm autolibs 2
gleb@debian:~$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/debian/7/x86_64/ruby-2.0.0-p353.tar.bz2
Checking requirements for debian.
Missing required packages: gawk libsqlite3-dev sqlite3 autoconf automake libtool bison pkg-config
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
Requirements installation failed with status: 1.
You have mail in /var/mail/gleb
gleb@debian:~$ sudo apt-get install gawk libsqlite3-dev sqlite3 autoconf automake libtool bison pkg-config
gleb@debian:~$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/debian/7/x86_64/ruby-2.0.0-p353.tar.bz2
Checking requirements for debian.
Requirements installation successful.
ruby-2.0.0-p353 - #configure
ruby-2.0.0-p353 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20.7M 100 20.7M 0 0 1119k 0 0:00:19 0:00:19 --:--:-- 899k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.0.0-p353 - #validate archive
ruby-2.0.0-p353 - #extract
ruby-2.0.0-p353 - #validate binary
ruby-2.0.0-p353 - #setup
Saving wrappers to '/home/gleb/.rvm/wrappers/ruby-2.0.0-p353'...........
ruby-2.0.0-p353 - #importing default gemsets, this may take time.................
gleb@debian:~$ rvm use 2.0.0
Using /home/gleb/.rvm/gems/ruby-2.0.0-p353
You have new mail in /var/mail/gleb
gleb@debian:~$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.3.5)
bundler-unload (1.0.2)
executable-hooks (1.2.6)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.8)
test-unit (2.0.0.0)
gleb@debian:~$ rvm uninstall 2.0.0
/home/gleb/.rvm/src/ruby-2.0.0-p353 has already been removed.
Removing /home/gleb/.rvm/rubies/ruby-2.0.0-p353
Removing default ruby interpreter.....
gleb@debian:~$ rvm get stable --without-gems="rubygems-bundler"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 289 0 --:--:-- --:--:-- --:--:-- 361
100 19527 100 19527 0 0 19456 0 0:00:01 0:00:01 --:--:-- 19456
Installing RVM without gems: rubygems-bundler.
Downloading RVM branch stable
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz to rvm-stable.tgz.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 122 0 0:00:01 0:00:01 --:--:-- 170
100 1089k 100 1089k 0 0 212k 0 0:00:05 0:00:05 --:--:-- 286k
Upgrading the RVM installation in /home/gleb/.rvm/
RVM PATH line found in /home/gleb/.bashrc /home/gleb/.zshrc.
RVM sourcing line found in /home/gleb/.bash_profile /home/gleb/.zlogin.
Upgrade of RVM in /home/gleb/.rvm/ is complete.
# gleb,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
Upgrade Notes:
* No new notes to display.
RVM reloaded!
gleb@debian:~$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/debian/7/x86_64/ruby-2.0.0-p353.tar.bz2
Checking requirements for debian.
Requirements installation successful.
ruby-2.0.0-p353 - #configure
ruby-2.0.0-p353 - #download
ruby-2.0.0-p353 - #validate archive
ruby-2.0.0-p353 - #extract
ruby-2.0.0-p353 - #validate binary
ruby-2.0.0-p353 - #setup
Saving wrappers to '/home/gleb/.rvm/wrappers/ruby-2.0.0-p353'...........
ruby-2.0.0-p353 - #importing default gemsets, this may take time.................
gleb@debian:~$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.3.5)
bundler-unload (1.0.2)
executable-hooks (1.2.6)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.8)
test-unit (2.0.0.0)
gleb@debian:~$ rvm uninstall 2.0.0
/home/gleb/.rvm/src/ruby-2.0.0-p353 has already been removed.
Removing /home/gleb/.rvm/rubies/ruby-2.0.0-p353
Removing default ruby interpreter.....
gleb@debian:~$ rvm install 2.0.0 --without-gems="rubygems-bundler"
Checking requirements for debian.
Requirements installation successful.
Installing Ruby from source to: /home/gleb/.rvm/rubies/ruby-2.0.0-p353, this may take a while depending on your cpu(s)...
ruby-2.0.0-p353 - #downloading ruby-2.0.0-p353, 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 2339k 0 0:00:04 0:00:04 --:--:-- 3044k
ruby-2.0.0-p353 - #extracting ruby-2.0.0-p353 to /home/gleb/.rvm/src/ruby-2.0.0-p353
ruby-2.0.0-p353 - #extracted to /home/gleb/.rvm/src/ruby-2.0.0-p353
ruby-2.0.0-p353 - #configuring.
Error running './configure --prefix=/home/gleb/.rvm/rubies/ruby-2.0.0-p353 --without-gems=rubygems-bundler --disable-install-doc --enable-shared',
please read /home/gleb/.rvm/log/1385439950_ruby-2.0.0-p353/configure.log
There has been an error while running configure. Halting the installation.
gleb@debian:~$ rvm install 2.0.0 --without-gems="rubygems-bundler"
Checking requirements for debian.
Requirements installation successful.
Installing Ruby from source to: /home/gleb/.rvm/rubies/ruby-2.0.0-p353, this may take a while depending on your cpu(s)...
ruby-2.0.0-p353 - #downloading ruby-2.0.0-p353, this may take a while depending on your connection...
ruby-2.0.0-p353 - #extracted to /home/gleb/.rvm/src/ruby-2.0.0-p353 (already extracted)
ruby-2.0.0-p353 - #configuring.
Error running './configure --prefix=/home/gleb/.rvm/rubies/ruby-2.0.0-p353 --without-gems=rubygems-bundler --disable-install-doc --enable-shared',
please read /home/gleb/.rvm/log/1385439968_ruby-2.0.0-p353/configure.log
There has been an error while running configure. Halting the installation.
gleb@debian:~$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/debian/7/x86_64/ruby-2.0.0-p353.tar.bz2
Checking requirements for debian.
Requirements installation successful.
ruby-2.0.0-p353 - #configure
ruby-2.0.0-p353 - #download
ruby-2.0.0-p353 - #validate archive
ruby-2.0.0-p353 - #extract
ruby-2.0.0-p353 - #validate binary
ruby-2.0.0-p353 - #setup
Saving wrappers to '/home/gleb/.rvm/wrappers/ruby-2.0.0-p353'...........
ruby-2.0.0-p353 - #importing default gemsets, this may take time.................
gleb@debian:~$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.3.5)
bundler-unload (1.0.2)
executable-hooks (1.2.6)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.8)
test-unit (2.0.0.0)
gleb@debian:~$ rvm uninstall
Really? uninstall, all? See "rvm list" and limit the selection to something more sane please :)
gleb@debian:~$ rvm uninstall 2.0.0
Removing /home/gleb/.rvm/src/ruby-2.0.0-p353
Removing /home/gleb/.rvm/rubies/ruby-2.0.0-p353
Removing default ruby interpreter.....
gleb@debian:~$ rvm reload
RVM reloaded!
gleb@debian:~$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/debian/7/x86_64/ruby-2.0.0-p353.tar.bz2
Checking requirements for debian.
Requirements installation successful.
ruby-2.0.0-p353 - #configure
ruby-2.0.0-p353 - #download
ruby-2.0.0-p353 - #validate archive
ruby-2.0.0-p353 - #extract
ruby-2.0.0-p353 - #validate binary
ruby-2.0.0-p353 - #setup
Saving wrappers to '/home/gleb/.rvm/wrappers/ruby-2.0.0-p353'...........
ruby-2.0.0-p353 - #importing default gemsets, this may take time.................
gleb@debian:~$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.3.5)
bundler-unload (1.0.2)
executable-hooks (1.2.6)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.8)
test-unit (2.0.0.0)
gleb@debian:~$
gleb@debian:~$ rvm info
ruby-2.0.0-p353:
system:
uname: "Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux"
system: "debian/7/x86_64"
bash: "/bin/bash => GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu)"
zsh: " => not installed"
rvm:
version: "rvm 1.24.4 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "5 minutes 14 seconds ago"
path: "/home/gleb/.rvm"
ruby:
interpreter: "ruby"
version: "2.0.0p353"
date: "2013-11-22"
platform: "x86_64-linux"
patchlevel: "2013-11-22 revision 43784"
full_version: "ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]"
homes:
gem: "/home/gleb/.rvm/gems/ruby-2.0.0-p353"
ruby: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353"
binaries:
ruby: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353/bin/ruby"
irb: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353/bin/irb"
gem: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353/bin/gem"
rake: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353/bin/rake"
environment:
PATH: "/home/gleb/.rvm/gems/ruby-2.0.0-p353/bin:/home/gleb/.rvm/gems/ruby-2.0.0-p353@global/bin:/home/gleb/.rvm/rubies/ruby-2.0.0-p353/bin:/home/gleb/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
GEM_HOME: "/home/gleb/.rvm/gems/ruby-2.0.0-p353"
GEM_PATH: "/home/gleb/.rvm/gems/ruby-2.0.0-p353:/home/gleb/.rvm/gems/ruby-2.0.0-p353@global"
MY_RUBY_HOME: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353"
IRBRC: "/home/gleb/.rvm/rubies/ruby-2.0.0-p353/.irbrc"
RUBYOPT: ""
gemset: ""
gleb@debian:~$ rubygems-bundler-uninstaller
-bash: rubygems-bundler-uninstaller: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment