Created
February 27, 2013 00:38
-
-
Save josephlord/5043774 to your computer and use it in GitHub Desktop.
Ruby 2.0.0 installs with stable (1.18.4) but demands sudo install under head unless the rvm_autolibs_flag=0 (when it installs).
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
josephl@jtl:~$ uname -a | |
Linux jtl.me.uk 3.2.0-38-generic-pae #61-Ubuntu SMP Tue Feb 19 12:39:51 UTC 2013 i686 athlon i386 GNU/Linux | |
josephl@jtl:~$ rvm list | |
rvm rubies | |
=* ruby-1.9.3-p327 [ i686 ] | |
# => - current | |
# =* - current && default | |
# * - default | |
josephl@jtl:~$ rvm -v | |
rvm 1.18.14 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/] | |
josephl@jtl:~$ rvm install 2.0.0 --disable-binary | |
Installing Ruby from source to: /home/josephl/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)... | |
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection... | |
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /home/josephl/.rvm/src/ruby-2.0.0-p0 | |
ruby-2.0.0-p0 - #extracted to /home/josephl/.rvm/src/ruby-2.0.0-p0 | |
ruby-2.0.0-p0 - #configuring | |
ruby-2.0.0-p0 - #compiling | |
ruby-2.0.0-p0 - #installing | |
Removing old Rubygems files... | |
Installing rubygems-2.0.0 for ruby-2.0.0-p0 ... | |
Installation of rubygems completed successfully. | |
Saving wrappers to '/home/josephl/.rvm/bin'. | |
ruby-2.0.0-p0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). | |
ruby-2.0.0-p0 - #importing default gemsets, this may take time ... | |
Install of ruby-2.0.0-p0 - #complete | |
josephl@jtl:~$ | |
josephl@jtl:~$ | |
josephl@jtl:~$ rvm uninstall 2.0.0 | |
Removing /home/josephl/.rvm/src/ruby-2.0.0-p0... | |
Removing /home/josephl/.rvm/rubies/ruby-2.0.0-p0... | |
josephl@jtl:~$ rvm get head | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 185 100 185 0 0 155 0 0:00:01 0:00:01 --:--:-- 271 | |
100 11525 100 11525 0 0 7928 0 0:00:01 0:00:01 --:--:-- 7928 | |
Downloading RVM from wayneeseguin branch master | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 124 100 124 0 0 225 0 --:--:-- --:--:-- --:--:-- 364 | |
100 1619k 100 1619k 0 0 219k 0 0:00:07 0:00:07 --:--:-- 399k | |
Upgrading the RVM installation in /home/josephl/.rvm/ | |
RVM PATH line found in /home/josephl/.bashrc /home/josephl/.zshrc. | |
RVM sourcing line found in /home/josephl/.bashrc /home/josephl/.bash_login /home/josephl/.zlogin. | |
Upgrade Notes: | |
* WARNING: your RVM loading script `/etc/profile.d/rvm.sh` is deprecated | |
and causes you to have `umask g+w` set in your shell, | |
run `rvm get head --auto` again to fix your scripts. | |
* WARNING: You're using ~/.profile, make sure you load it, | |
add the following line to ~/.bash_profile if it exists | |
otherwise add it to ~/.bash_login: | |
source ~/.profile | |
* If you encounter any issues with a ruby 'X' your best bet is to: | |
rvm get head && rvm reinstall X --debug | |
* RVM will run 'rvm requirements' by default, to disable run: | |
echo rvm_autolibs_flag=0 >> ~/.rvmrc | |
* RVM will set first installed ruby as default and use it if run as function. | |
To avoid this behavior either use full path to rvm binary or prefix it with `command `. | |
* To update RVM loading code run 'rvm get ... --auto-dotfiles' | |
* RVM will try automatically use available package manager, might require `sudo`, | |
read more about it in `rvm help autolibs` | |
# RVM: Shell scripts enabling management of multiple ruby environments. | |
# RTFM: https://rvm.io/ | |
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net) | |
# Cheatsheet: http://cheat.errtheblog.com/s/rvm | |
# Screencast: http://screencasts.org/episodes/how-to-use-rvm | |
# In case of any issues run 'rvm requirements' or read 'rvm notes' | |
Upgrade of RVM in /home/josephl/.rvm/ is complete. | |
# Joseph Lord, | |
# | |
# Thank you for using RVM! | |
# I sincerely hope that RVM helps to make your life easier and | |
# more enjoyable!!! | |
# | |
# ~Wayne | |
RVM reloaded! | |
josephl@jtl:~$ rvm install 2.0.0 | |
Searching for binary rubies, this might take some time. | |
ruby-2.0.0-p0 - #configure | |
ruby-2.0.0-p0 - #download | |
ruby-2.0.0-p0 - #validate archive | |
^C | |
josephl@jtl:~$ rvm install 2.0.0 --disable-binary | |
Installing requirements for ubuntu/12.04/i386, might require sudo password | |
[sudo] password for josephl: | |
josephl@jtl:~$ | |
josephl@jtl:~$ echo rvm_autolibs_flag=0 >> ~/.rvmrc | |
josephl@jtl:~$ | |
josephl@jtl:~$ rvm install 2.0.0 --disable-binary | |
Installing Ruby from source to: /home/josephl/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)... | |
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection... | |
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /home/josephl/.rvm/src/ruby-2.0.0-p0 | |
ruby-2.0.0-p0 - #extracted to /home/josephl/.rvm/src/ruby-2.0.0-p0 | |
ruby-2.0.0-p0 - #configuring............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... | |
ruby-2.0.0-p0 - #compiling.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... | |
ruby-2.0.0-p0 - #installing .................................................................................................................................................................................................................................................................................................. | |
Retrieving rubygems-2.0.0 | |
Extracting rubygems-2.0.0 ... | |
Removing old Rubygems files... | |
Installing rubygems-2.0.0 for ruby-2.0.0-p0...................... | |
Installation of rubygems completed successfully. | |
Saving wrappers to '/home/josephl/.rvm/wrappers/ruby-2.0.0-p0'.......................................... | |
ruby-2.0.0-p0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). | |
ruby-2.0.0-p0 - #importing default gemsets, this may take time ... | |
Install of ruby-2.0.0-p0 - #complete | |
josephl@jtl:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment