Skip to content

Instantly share code, notes, and snippets.

@rick
Last active November 9, 2015 18:56
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 rick/0cd17d4bc4afb13d9539 to your computer and use it in GitHub Desktop.
Save rick/0cd17d4bc4afb13d9539 to your computer and use it in GitHub Desktop.
ubuntu installation of jruby 1.7.13 via latest RVM
Last login: Tue Nov 3 09:00:18 2015 from c-68-53-142-130.hsd1.tn.comcast.net
Mon Nov 09 13:47:23 gampopa ~
# ▸ curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: Signature made Mon 30 Mar 2015 05:52:13 PM EDT using RSA key ID BF04FF17
gpg: requesting key BF04FF17 from hkp server keys.gnupg.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3
Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17
GPG verified '/usr/local/rvm/archives/rvm-1.26.11.tgz'
Creating group 'rvm'
Installing RVM to /usr/local/rvm/
Installation of RVM in /usr/local/rvm/ is almost complete:
* First you need to add all users that will be using rvm to 'rvm' group,
and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`.
* To start using RVM you need to run `source /etc/profile.d/rvm.sh`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# Administrator,
#
# 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
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Searching for binary rubies, this might take some time.
Found remote file https://s3.amazonaws.com/jruby.org/downloads/1.7.19/jruby-bin-1.7.19.tar.gz
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system.......
Installing required packages: g++, openjdk-7-jre-headless................................
Requirements installation successful.
jruby-1.7.19 - #configure
jruby-1.7.19 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 31.2M 0 165k 0 0 6922 0 1:18:50 0:00:24 1:18:26 0^CMon Nov 09 13:49:24 gampopa ~
# ▸ rvm
No command 'rvm' found, but there are 20 similar ones
rvm: command not found
Mon Nov 09 13:49:26 gampopa ~
# ▸ curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby-1.7.13
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg: Signature made Mon 30 Mar 2015 05:52:13 PM EDT using RSA key ID BF04FF17
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3
Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17
GPG verified '/usr/local/rvm/archives/rvm-1.26.11.tgz'
Upgrading the RVM installation in /usr/local/rvm/
Upgrade of RVM in /usr/local/rvm/ is complete.
# Administrator,
#
# 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 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Unknown ruby string (do not know how to handle): jruby-1.7.13.
Unknown ruby string (do not know how to handle): jruby-1.7.13.
Searching for binary rubies, this might take some time.
Unknown ruby string (do not know how to handle): jruby-1.7.13.
Unknown ruby string (do not know how to handle): jruby-1.7.13.
Found remote file https://s3.amazonaws.com/jruby.org/downloads/1.7.13/jruby-bin-1.7.13.tar.gz
Checking requirements for ubuntu.
Requirements installation successful.
jruby-1.7.13 - #configure
Unknown ruby string (do not know how to handle): jruby-1.7.13.
jruby-1.7.13 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.9M 100 18.9M 0 0 30.8M 0 --:--:-- --:--:-- --:--:-- 30.8M
No checksum for downloaded archive, recording checksum in user configuration.
jruby-1.7.13 - #validate archive
jruby-1.7.13 - #extract
jruby-1.7.13 - #validate binary
jruby-1.7.13 - #setup
jruby-1.7.13 - #gemset created /usr/local/rvm/gems/jruby-1.7.13@global
jruby-1.7.13 - #importing gemset /usr/local/rvm/gemsets/jruby/global.gems......................................................................................
jruby-1.7.13 - #generating global wrappers........
jruby-1.7.13 - #gemset created /usr/local/rvm/gems/jruby-1.7.13
jruby-1.7.13 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
jruby-1.7.13 - #generating default wrappers...............
Creating alias default for jruby-1.7.13...
* To start using RVM you need to run `source /usr/local/rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
Mon Nov 09 13:54:02 gampopa ~
# ▸ source /usr/local/rvm/scripts/rvm
Mon Nov 09 13:54:08 gampopa ~
# ▸ rvm list
rvm rubies
=* jruby-1.7.13 [ x86_64 ]
# => - current
# =* - current && default
# * - default
Mon Nov 09 13:54:29 gampopa ~
# ▸ irb
>> RUBY_VERSION
=> "1.9.3"
>>
Mon Nov 09 13:54:44 gampopa ~
# ▸ which ruby
/usr/local/rvm/rubies/jruby-1.7.13/bin/ruby
Mon Nov 09 13:54:46 gampopa ~
# ▸ uname -a
Linux gampopa 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Mon Nov 09 13:55:39 gampopa ~
# ▸ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment