Skip to content

Instantly share code, notes, and snippets.

View josephlord's full-sized avatar

Joseph Lord josephlord

View GitHub Profile
@josephlord
josephlord / rvm_issue#1613
Created February 27, 2013 00:38
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).
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
@josephlord
josephlord / head_install_pkg
Created February 27, 2013 00:57
RVM master install 2.0.0 on OS X
~ » rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/josephl/.rvm/archives
Extracting openssl to /Users/josephl/.rvm/src/openssl-1.0.1c
Configuring openssl in /Users/josephl/.rvm/src/openssl-1.0.1c..
Error running './Configure darwin64-x86_64-cc -I/Users/josephl/.rvm/usr/include -L/Users/josephl/.rvm/usr/lib zlib no-krb5 --prefix=/Users/josephl/.rvm/usr --disable-install-doc shared',
please read /Users/josephl/.rvm/log/openssl/configure.log
Compiling openssl in /Users/josephl/.rvm/src/openssl-1.0.1c........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
~ » rvm get head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 112 0 0:00:01 0:00:01 --:--:-- 189
100 11525 100 11525 0 0 4945 0 0:00:02 0:00:02 --:--:-- 38674
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 94 0 0:00:01 0:00:01 --:--:-- 101
100 1619k 100 1619k 0 0 428k 0 0:00:03 0:00:03 --:--:-- 799k
~ » rvm pkg remove
Beware, 'rvm pkg ...' is deprecated, read about the new autolibs feature: 'rvm help autolibs'.
Removing '/Users/josephl/.rvm/usr' ...
Removed
~ » rvm uninstall 2.0.0
Removing /Users/josephl/.rvm/src/ruby-2.0.0-p0...
Removing /Users/josephl/.rvm/rubies/ruby-2.0.0-p0...
@josephlord
josephlord / console_output
Last active December 14, 2015 07:18
rvm get head rvm remove 2.0.0 rvm install 2.0.0 --autolibs=3
~ » rvm get head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 175 0 0:00:01 0:00:01 --:--:-- 259
100 11525 100 11525 0 0 7088 0 0:00:01 0:00:01 --:--:-- 58207
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 75 0 0:00:01 0:00:01 --:--:-- 79
0 124 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
@josephlord
josephlord / console_log
Last active December 14, 2015 07:29
Created new user on OS X. 1) Installed RVM (stable) with Ruby (it defaulted to 2.0.0). - Rubygems install failed (openssl). 2) Logged out/in 3) rvm get head - failed openssl related 4) rvm install 1.9.3 - failed (Requested installation with homebrew libs, but homebrew is not available.) 5) rvm install 1.9.3 --autolibs=3 (currently proceeding but…
ebsite/hfwebsite » ssh temp@localhost
Password:
jl-mbp:~ temp$ uname -a
Darwin jl-mbp.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
jl-mbp:~ temp$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
jl-mbp:~ temp$ \curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 128 0 0:00:01 0:00:01 --:--:-- 169
delta7/dashboard - [jtlmaster●] » rvm -v
rvm 1.18.14 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
delta7/dashboard - [jtlmaster●] » rvm get stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 158 0 0:00:01 0:00:01 --:--:-- 226
100 11525 100 11525 0 0 6004 0 0:00:01 0:00:01 --:--:-- 10.9M
Downloading RVM from wayneeseguin branch stable
@josephlord
josephlord / gist:5053653
Created February 28, 2013 02:19
Remove RVM for user and follow install instructions for rvm+ruby on the rvm.io website.
jl-mbp:~ temp$ rm -rf .rvm/
jl-mbp:~ temp$ rm .bashrc .zshrc
jl-mbp:~ temp$ exit
logout
Connection to localhost closed.
website/hfwebsite » ssh temp@localhost
Password:
Last login: Wed Feb 27 19:10:49 2013 from localhost
jl-mbp:~ temp$ \curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
@josephlord
josephlord / console_log
Created February 28, 2013 10:31
```rvm get head``` with errors burried in output.
jl-mbp:~ temp$ rvm get head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 134 0 0:00:01 0:00:01 --:--:-- 258
100 11525 100 11525 0 0 6662 0 0:00:01 0:00:01 --:--:-- 53356
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 290 0 --:--:-- --:--:-- --:--:-- 382
0 124 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
@josephlord
josephlord / console_log
Last active December 14, 2015 08:19
This is a brand new user on OS X using bash with no package manager in place. ZSH is installed on the system but not used by this user. RVM and ruby install ok but not rubygems.
jl-mbp:~ test$ \curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 158 0 0:00:01 0:00:01 --:--:-- 223
100 11525 100 11525 0 0 6544 0 0:00:01 0:00:01 --:--:-- 6544
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed