Skip to content

Instantly share code, notes, and snippets.

@davorb
Created May 4, 2012 12:08
Show Gist options
  • Save davorb/2594452 to your computer and use it in GitHub Desktop.
Save davorb/2594452 to your computer and use it in GitHub Desktop.
With a folder called "java" in the $PATH and without
[davor@athena ~]$ rvm --version
rvm 1.13.0 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
[davor@athena ~]$ rm -rf .rvm
[davor@athena ~]$ curl -L get.rvm.io | bash;rvm reload;rvm install jruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 290 0 --:--:-- --:--:-- --:--:-- 1000
100 8844 100 8844 0 0 6185 0 0:00:01 0:00:01 --:--:-- 2878k
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 167 0 --:--:-- --:--:-- --:--:-- 210
100 1012k 100 1012k 0 0 336k 0 0:00:03 0:00:03 --:--:-- 482k
Installing RVM to /home/davor/.rvm/
RVM PATH line found in /home/davor/.bashrc /home/davor/.zshrc.
RVM sourcing line found in /home/davor/.bashrc /home/davor/.zshrc.
# 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 read output of 'rvm requirements' and/or 'rvm notes'
Installation of RVM in /home/davor/.rvm/ is almost complete:
* To start using RVM you need to run `source /home/davor/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# Davor Babic,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne
rvm 1.13.1 () by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
RVM reloaded!
jruby-1.6.7 - #fetching
jruby-1.6.7 - #downloading jruby-bin-1.6.7, 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 14.8M 100 14.8M 0 0 839k 0 0:00:18 0:00:18 --:--:-- 1187k
jruby-1.6.7 - #extracting jruby-bin-1.6.7 to /home/davor/.rvm/src/jruby-1.6.7
jruby-1.6.7 - #extracted to /home/davor/.rvm/src/jruby-1.6.7
Building Nailgun
jruby-1.6.7 - #installing to /home/davor/.rvm/rubies/jruby-1.6.7
jruby-1.6.7 - #importing default gemsets (/home/davor/.rvm/gemsets/)
Copying across included gems
execv failed: Permission denied (13)
36.26s user 5.82s system 36% cpu 1:54.27 total
[davor@athena ~]$
# without the "java" folder
[davor@athena ~]$ rm -rf .rvm
[davor@athena ~]$ mv ~/bin/java ~/bin/java_PROBLEM_WITH_RVM
[davor@athena ~]$ curl -L get.rvm.io | bash;rvm reload;rvm install jruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 233 0 --:--:-- --:--:-- --:--:-- 1000
100 8844 100 8844 0 0 6028 0 0:00:01 0:00:01 --:--:-- 61416
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 183 0 --:--:-- --:--:-- --:--:-- 238
100 1012k 100 1012k 0 0 345k 0 0:00:02 0:00:02 --:--:-- 726k
Installing RVM to /home/davor/.rvm/
RVM PATH line found in /home/davor/.bashrc /home/davor/.zshrc.
RVM sourcing line found in /home/davor/.bashrc /home/davor/.zshrc.
# 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 read output of 'rvm requirements' and/or 'rvm notes'
Installation of RVM in /home/davor/.rvm/ is almost complete:
* To start using RVM you need to run `source /home/davor/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# Davor Babic,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne
rvm 1.13.1 () by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
RVM reloaded!
jruby-1.6.7 - #fetching
jruby-1.6.7 - #downloading jruby-bin-1.6.7, 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 14.8M 100 14.8M 0 0 946k 0 0:00:16 0:00:16 --:--:-- 1068k
jruby-1.6.7 - #extracting jruby-bin-1.6.7 to /home/davor/.rvm/src/jruby-1.6.7
jruby-1.6.7 - #extracted to /home/davor/.rvm/src/jruby-1.6.7
Building Nailgun
jruby-1.6.7 - #installing to /home/davor/.rvm/rubies/jruby-1.6.7
jruby-1.6.7 - #importing default gemsets (/home/davor/.rvm/gemsets/)
Copying across included gems
Fetching: jruby-launcher-1.0.13-java.gem (100%)
Building native extensions. This could take a while...
Successfully installed jruby-launcher-1.0.13-java
1 gem installed
64.24s user 8.36s system 67% cpu 1:47.38 total
[davor@athena ~]$ rvm --version
rvm 1.13.1 () by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
[davor@athena ~]$ echo $PATH
/home/davor/.rvm/gems/jruby-1.6.7/bin:/home/davor/.rvm/gems/jruby-1.6.7@global/bin:/home/davor/.rvm/rubies/jruby-1.6.7/bin:/home/davor/.rvm/bin:/home/davor/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/davor/.cabal/bin
[davor@athena ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment