Ruby RVM, or Ruby Version Manager is a very convenient way of running multiple versions of ruby/jruby on the same machine without install/uninstall it every time. It also applies with using different ruby gem verionsets.
You should be aware, that ruby gems used with RVM are not transparent. It means that once you installed gem for ruby 1.9.3 and change the usage to ruby 1.6.3, you have to install all ruby gems for the given ruby version again.
Unfortunately, its installation is a little bit tricky as well as its usage.
I. Installing ruby
There are number of the ways of how ruby is installed, yum, from the the source, etc, so I skip this part. I personally, prefer an installation from the source
$> /usr/bin/env ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
II. Installing GIT, that it is required for RVM installation:
It seems that there is no GIT available through base CentOS 5 repository, so I found a third-party repository, that seems works pretty good. They operate a term of “latest”, that on the time of writing the article is GIT 1.7.6.
$> sudo rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
Retrieving http://repo.webtatic.com/yum/centos/5/latest.rpm
warning: /var/tmp/rpm-xfer.54Xo8g: Header V3 DSA signature: NOKEY, key ID cf4c4ff9
Preparing... ########################################### [100%]
1:webtatic-release ########################################### [100%]
$> sudo yum install --enablerepo=webtatic git-all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.ecvps.com
* extras: mirrors.cat.pdx.edu
* updates: mirror.nwresd.org
webtatic | 951 B 00:00
webtatic/primary | 51 kB 00:00
webtatic 318/318
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package git-all.i386 0:1.7.6.1-1.w5 set to be updated
--> Processing Dependency: gitk = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: git = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: git-cvs = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: git-gui = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: emacs-git = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: git-email = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: perl-Git = 1.7.6.1-1.w5 for package: git-all
--> Processing Dependency: git-svn = 1.7.6.1-1.w5 for package: git-all
--> Running transaction check
---> Package emacs-git.i386 0:1.7.6.1-1.w5 set to be updated
--> Processing Dependency: emacs-common for package: emacs-git
---> Package git.i386 0:1.7.6.1-1.w5 set to be updated
--> Processing Dependency: perl(Error) for package: git
---> Package git-cvs.i386 0:1.7.6.1-1.w5 set to be updated
--> Processing Dependency: cvsps for package: git-cvs
---> Package git-email.i386 0:1.7.6.1-1.w5 set to be updated
--> Processing Dependency: perl(Authen::SASL) for package: git-email
--> Processing Dependency: perl(Net::SMTP::SSL) for package: git-email
---> Package git-gui.i386 0:1.7.6.1-1.w5 set to be updated
---> Package git-svn.i386 0:1.7.6.1-1.w5 set to be updated
--> Processing Dependency: perl(SVN::Core) for package: git-svn
--> Processing Dependency: perl(Term::ReadKey) for package: git-svn
---> Package gitk.i386 0:1.7.6.1-1.w5 set to be updated
---> Package perl-Git.i386 0:1.7.6.1-1.w5 set to be updated
--> Running transaction check
---> Package cvsps.i386 0:2.1-7.el5 set to be updated
---> Package emacs-common.i386 0:21.4-24.el5 set to be updated
---> Package perl-Authen-SASL.noarch 0:2.13-1.el5.rf set to be updated
---> Package perl-Error.noarch 1:0.17010-1.el5 set to be updated
---> Package perl-Net-SMTP-SSL.noarch 0:1.01-1.el5.rf set to be updated
---> Package perl-TermReadKey.i386 0:2.30-4.el5 set to be updated
---> Package subversion-perl.i386 0:1.6.13-0.1.el5.rf set to be updated
--> Processing Dependency: subversion = 1.6.13-0.1.el5.rf for package: subversion-perl
--> Running transaction check
--> Processing Dependency: libsvn_ra_dav-1.so.0 for package: subversion-devel
--> Processing Dependency: subversion = 1.6.11-7.el5_6.4 for package: subversion-devel
---> Package subversion.i386 0:1.6.13-0.1.el5.rf set to be updated
--> Running transaction check
---> Package subversion-devel.i386 0:1.6.13-0.1.el5.rf set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================
Installing:
git-all i386 1.7.6.1-1.w5 webtatic 13 k
Installing for dependencies:
cvsps i386 2.1-7.el5 webtatic 56 k
emacs-common i386 21.4-24.el5 base 10 M
emacs-git i386 1.7.6.1-1.w5 webtatic 41 k
git i386 1.7.6.1-1.w5 webtatic 4.6 M
git-cvs i386 1.7.6.1-1.w5 webtatic 82 k
git-email i386 1.7.6.1-1.w5 webtatic 41 k
git-gui i386 1.7.6.1-1.w5 webtatic 265 k
git-svn i386 1.7.6.1-1.w5 webtatic 104 k
gitk i386 1.7.6.1-1.w5 webtatic 141 k
perl-Authen-SASL noarch 2.13-1.el5.rf webtatic 53 k
perl-Error noarch 1:0.17010-1.el5 webtatic 26 k
perl-Git i386 1.7.6.1-1.w5 webtatic 25 k
perl-Net-SMTP-SSL noarch 1.01-1.el5.rf webtatic 7.4 k
perl-TermReadKey i386 2.30-4.el5 webtatic 32 k
subversion-perl i386 1.6.13-0.1.el5.rf webtatic 2.3 M
Updating for dependencies:
subversion i386 1.6.13-0.1.el5.rf webtatic 6.5 M
subversion-devel i386 1.6.13-0.1.el5.rf webtatic 257 k
Transaction Summary
============================================================================================================================================
Install 16 Package(s)
Upgrade 2 Package(s)
Total download size: 25 M
Is this ok [y/N]: y
Downloading Packages:
(1/18): perl-Net-SMTP-SSL-1.01-1.el5.rf.noarch.rpm | 7.4 kB 00:00
(2/18): git-all-1.7.6.1-1.w5.i386.rpm | 13 kB 00:00
(3/18): perl-Git-1.7.6.1-1.w5.i386.rpm | 25 kB 00:00
(4/18): perl-Error-0.17010-1.el5.noarch.rpm | 26 kB 00:00
(5/18): perl-TermReadKey-2.30-4.el5.i386.rpm | 32 kB 00:00
(6/18): emacs-git-1.7.6.1-1.w5.i386.rpm | 41 kB 00:00
(7/18): git-email-1.7.6.1-1.w5.i386.rpm | 41 kB 00:00
(8/18): perl-Authen-SASL-2.13-1.el5.rf.noarch.rpm | 53 kB 00:00
(9/18): cvsps-2.1-7.el5.i386.rpm | 56 kB 00:00
(10/18): git-cvs-1.7.6.1-1.w5.i386.rpm | 82 kB 00:00
(11/18): git-svn-1.7.6.1-1.w5.i386.rpm | 104 kB 00:00
(12/18): gitk-1.7.6.1-1.w5.i386.rpm | 141 kB 00:00
(13/18): subversion-devel-1.6.13-0.1.el5.rf.i386.rpm | 257 kB 00:00
(14/18): git-gui-1.7.6.1-1.w5.i386.rpm | 265 kB 00:00
(15/18): subversion-perl-1.6.13-0.1.el5.rf.i386.rpm | 2.3 MB 00:00
(16/18): git-1.7.6.1-1.w5.i386.rpm | 4.6 MB 00:02
(17/18): subversion-1.6.13-0.1.el5.rf.i386.rpm | 6.5 MB 00:03
(18/18): emacs-common-21.4-24.el5.i386.rpm | 10 MB 00:04
--------------------------------------------------------------------------------------------------------------------------------------------
Total 1.8 MB/s | 25 MB 00:13
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID cf4c4ff9
webtatic/gpgkey | 1.6 kB 00:00
Importing GPG key 0xCF4C4FF9 "Andy Thompson " from /etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : subversion 1/20
Installing : subversion-perl 2/20
Installing : cvsps 3/20
Installing : emacs-common 4/20
Installing : perl-TermReadKey 5/20
Installing : perl-Error 6/20
Installing : perl-Net-SMTP-SSL 7/20
Installing : perl-Authen-SASL 8/20
Updating : subversion-devel 9/20
Installing : git 10/20
Installing : perl-Git 11/20
Installing : gitk 12/20
Installing : git-gui 13/20
Installing : git-email 14/20
Installing : git-cvs 15/20
Installing : git-svn 16/20
Installing : emacs-git 17/20
Installing : git-all 18/20
Cleanup : subversion 19/20
Cleanup : subversion-devel 20/20
Installed:
git-all.i386 0:1.7.6.1-1.w5
Dependency Installed:
cvsps.i386 0:2.1-7.el5 emacs-common.i386 0:21.4-24.el5 emacs-git.i386 0:1.7.6.1-1.w5
git.i386 0:1.7.6.1-1.w5 git-cvs.i386 0:1.7.6.1-1.w5 git-email.i386 0:1.7.6.1-1.w5
git-gui.i386 0:1.7.6.1-1.w5 git-svn.i386 0:1.7.6.1-1.w5 gitk.i386 0:1.7.6.1-1.w5
perl-Authen-SASL.noarch 0:2.13-1.el5.rf perl-Error.noarch 1:0.17010-1.el5 perl-Git.i386 0:1.7.6.1-1.w5
perl-Net-SMTP-SSL.noarch 0:1.01-1.el5.rf perl-TermReadKey.i386 0:2.30-4.el5 subversion-perl.i386 0:1.6.13-0.1.el5.rf
Dependency Updated:
subversion.i386 0:1.6.13-0.1.el5.rf subversion-devel.i386 0:1.6.13-0.1.el5.rf
Complete!
III. Install RVM gem
$> sudo gem install rvm
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Fetching: rvm-1.9.2.gem (100%)
********************************************************************************
This gem contains only the Ruby libraries for the RVM Ruby API.
In order to install RVM please use one of the methods listed in the
documentation:
https://rvm.beginrescueend.com/rvm/install/
such as,
bash < <(curl -s -B https://rvm.beginrescueend.com/install/rvm)
followed by placing the sourcing line in your ~/.bash_profile or wherever may
be appropriate for your setup (example, .zshenv, /etc/profile, ...):
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
After completing setup please open a new shell to use RVM and be sure to run
'rvm notes' to gain a list of dependencies to install before installing the
first Ruby. You can read more details about this process on the above
mentioned install page as well as the basics page:
https://rvm.beginrescueend.com/rvm/basics/
Enjoy!
~Wayne
********************************************************************************
Successfully installed rvm-1.9.2
1 gem installed
Installing ri documentation for rvm-1.9.2...
Installing RDoc documentation for rvm-1.9.2...
IV. Perform RVM install
$> curl -s -B https://rvm.beginrescueend.com/install/rvm > rvm.bash
$> bash << rvm.bash
$> cat rvm.bash | bash
bash: line 154: git: command not found
bash: line 156: git: command not found
That is what you WOULD see if you do NOT have GIT installed (see #II above)
$> cat rvm.bash | bash
Cloning into rvm...
remote: Counting objects: 5866, done.
remote: Compressing objects: 100% (2808/2808), done.
remote: Total 5866 (delta 3855), reused 4138 (delta 2302)
Receiving objects: 100% (5866/5866), 1.95 MiB | 728 KiB/s, done.
Resolving deltas: 100% (3855/3855), done.
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: https://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Installing RVM to /home/$USER/.rvm/
Correct permissions for base binaries in /home/$USER/.rvm/bin...
Copying manpages into place.
Recording config files for rubies.
$USER,
If you have any questions, issues and/or ideas for improvement please
fork the project and issue a pull request.
If you wish to disable the project .rvmrc file functionality, set
rvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc.
NOTE: To Multi-User installers, please do NOT forget to add your users to the 'rvm'.
The installer no longer auto-adds root or users to the rvm group. Admins must do this.
Also, please note that group memberships are ONLY evaluated at login time.
This means that users must log out then back in before group membership takes effect!
Thank you for using RVM!
I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
~Wayne
SYSTEM NOTES:
If you do not wish to enable reading of per-project .rvmrc files, simply set:
export rvm_project_rvmrc=0
within either your /etc/rvmrc or $HOME/.rvmrc file, then log out and back in.
You _must_ read 'rvm requirements' for additional OS specific requirements for
various rubies, and native-extension gems. Expect failures until those are met!
You must now complete the install by loading RVM in new shells.
If you wish to use RVM in an interactive fashion in your shells then
Place the following line at the end of your shell's loading files
(.bashrc or .bash_profile for bash and .zshrc for zsh),
after all PATH/variable settings:
[[ -s "/home/$USER/.rvm/scripts/rvm" ]] && source "/home/$USER/.rvm/scripts/rvm" # This loads RVM into a shell session.
You only need to add this line the first time you install RVM.
If you are choosing to source RVM into your environment to switch current
shell environments, be sure to close this shell and open a new one so that
the RVM functions load.
Installation of RVM to /home/$USER/.rvm/ is complete.
Requirements for Linux ( CentOS release 5.7 (Final) )
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the *original* / standard Ruby Language Interpreter
'ree' represents Ruby Enterprise Edition
'rbx' represents Rubinius
bash >= 4.1 required
curl is required
git is required (>= 1.7 recommended)
patch is required (for ree and some ruby-head's).
To install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
then you must install and use rvm 1.8.7 first.
NOTE: To all Multi-User installers - DO NOT forget to add your users to the 'rvm' group.
The installer does not auto-add any users to the rvm group. Admins must do this.
Group memberships are ONLY evaluated at login time. Log them out, then back in.
Additional Dependencies:
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ## NOTE: For centos >= 5.4 iconv-devel is provided by glibc
# For JRuby, install the following:
jruby: yum install -y java
V. Install addition dependencies, for RUBY
$> sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.ecvps.com
* extras: mirrors.cat.pdx.edu
* updates: mirror.nwresd.org
Setting up Install Process
Package gcc-c++-4.1.2-51.el5.i386 already installed and latest version
Package patch-2.5.4-31.el5.i386 already installed and latest version
Package readline-5.1-3.el5.i386 already installed and latest version
Package readline-devel-5.1-3.el5.i386 already installed and latest version
Package zlib-1.2.3-4.el5.i386 already installed and latest version
Package zlib-devel-1.2.3-4.el5.i386 already installed and latest version
No package libyaml-devel available.
No package libffi-devel available.
Package openssl-devel-0.9.8e-20.el5.i386 already installed and latest version
Package 1:make-3.81-3.el5.i386 already installed and latest version
Package bzip2-1.0.3-6.el5_5.i386 already installed and latest version
Package autoconf-2.59-12.noarch already installed and latest version
Package automake-1.9.6-2.3.el5.noarch already installed and latest version
Package libtool-1.5.22-7.el5_4.i386 already installed and latest version
Package bison-2.3-2.1.i386 already installed and latest version
No package iconv-devel available.
Nothing to do
VI. Install addition dependencies, for JRUBY
$> sudo yum install -y java
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.ecvps.com
* extras: mirrors.cat.pdx.edu
* updates: mirror.nwresd.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.23.1.9.10.el5_7 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Dependencies Resolved
============================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================
Updating:
java-1.6.0-openjdk i386 1:1.6.0.0-1.23.1.9.10.el5_7 updates 38 M
Transaction Summary
============================================================================================================================================
Install 0 Package(s)
Upgrade 1 Package(s)
Total download size: 38 M
Downloading Packages:
java-1.6.0-openjdk-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm | 38 MB 00:20
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : java-1.6.0-openjdk 1/2
Cleanup : java-1.6.0-openjdk 2/2
Updated:
java-1.6.0-openjdk.i386 1:1.6.0.0-1.23.1.9.10.el5_7
Complete!
VII. Continue the installation process
$> chmod +x rvm.bash
$> ./rvm.bash
Successfully checked out branch ''
Current branch master is up to date.
Successfully pulled (rebased) from origin
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: https://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Upgrading the RVM installation in /home/$USER/.rvm/
Correct permissions for base binaries in /home/$USER/.rvm/bin...
Copying manpages into place.
Recording config files for rubies.
$USER,
If you have any questions, issues and/or ideas for improvement please
fork the project and issue a pull request.
If you wish to disable the project .rvmrc file functionality, set
rvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc.
NOTE: To Multi-User installers, please do NOT forget to add your users to the 'rvm'.
The installer no longer auto-adds root or users to the rvm group. Admins must do this.
Also, please note that group memberships are ONLY evaluated at login time.
This means that users must log out then back in before group membership takes effect!
Thank you for using RVM!
I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
~Wayne
Upgrade Notes
* rvm_trust_rvmrcs has been changed to rvm_trust_rvmrcs_flag for consistency
* Project rvmrc files are now checked for trust whenever they change, as
promised by the note displayed during the review process
* Ruby package dependency list for your OS is given by:
rvm notes
* If you encounter any issues with a ruby 'X' your best bet is to:
rvm remove X ; rvm install X
* If you see the following error message: Unknown alias name: 'default'
re-set your default ruby, this is due to a change in how default works.
* after_use and after_cd hook now supports multiple files with after_*_*
the custom hooks can be easily turned on/off by:
chmod +x /home/$USER/.rvm/hooks/after_cd_[hook_name]
chmod -x /home/$USER/.rvm/hooks/after_use_[hook_name]
Upgrade of RVM in /home/$USER/.rvm/ is complete.
VIII. Run RVM installer
$> ~/.rvm/bin/rvm-installer
Successfully checked out branch ''
Current branch master is up to date.
Successfully pulled (rebased) from origin
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: https://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Upgrading the RVM installation in /home/$USER/.rvm/
Correct permissions for base binaries in /home/$USER/.rvm/bin...
Copying manpages into place.
Recording config files for rubies.
$USER,
If you have any questions, issues and/or ideas for improvement please
fork the project and issue a pull request.
If you wish to disable the project .rvmrc file functionality, set
rvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc.
NOTE: To Multi-User installers, please do NOT forget to add your users to the 'rvm'.
The installer no longer auto-adds root or users to the rvm group. Admins must do this.
Also, please note that group memberships are ONLY evaluated at login time.
This means that users must log out then back in before group membership takes effect!
Thank you for using RVM!
I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
~Wayne
Upgrade Notes
* rvm_trust_rvmrcs has been changed to rvm_trust_rvmrcs_flag for consistency
* Project rvmrc files are now checked for trust whenever they change, as
promised by the note displayed during the review process
* Ruby package dependency list for your OS is given by:
rvm notes
* If you encounter any issues with a ruby 'X' your best bet is to:
rvm remove X ; rvm install X
* If you see the following error message: Unknown alias name: 'default'
re-set your default ruby, this is due to a change in how default works.
* after_use and after_cd hook now supports multiple files with after_*_*
the custom hooks can be easily turned on/off by:
chmod +x /home/$USER/.rvm/hooks/after_cd_[hook_name]
chmod -x /home/$USER/.rvm/hooks/after_use_[hook_name]
Upgrade of RVM in /home/$USER/.rvm/ is complete.
IX. Add JRUBY_OPTS into ~/.bash_profile
JRUBY_OPTS="--1.9"
and source it
$> source ~/.bash_profile
X. Install JRUBY under RVM
$> rvm install jruby
jruby-1.6.5 - #fetching
jruby-1.6.5 - #downloading jruby-bin-1.6.5, 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.6M 100 14.6M 0 0 1346k 0 0:00:11 0:00:11 --:--:-- 1534k
jruby-1.6.5 - #extracting jruby-bin-1.6.5 to /home/$USER/.rvm/src/jruby-1.6.5
jruby-1.6.5 - #extracted to /home/$USER/.rvm/src/jruby-1.6.5
Building Nailgun
jruby-1.6.5 - #installing to /home/$USER/.rvm/rubies/jruby-1.6.5
jruby-1.6.5 - #importing default gemsets (/home/$USER/.rvm/gemsets/)
Copying across included gems
Fetching: jruby-launcher-1.0.9-java.gem (100%)
Building native extensions. This could take a while...
Successfully installed jruby-launcher-1.0.9-java
1 gem installed
XI. Using RVM
$> rvm use
Now using system ruby.
$> rvm use jruby-1.6.5
Using /home/$USER/.rvm/gems/jruby-1.6.5
$> rvm use jruby
Using /home/$USER/.rvm/gems/jruby-1.6.5
$> ruby -v
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) Server VM 1.6.0_25) [linux-i386-java]
$> /usr/bin/env ruby -v
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) Server VM 1.6.0_25) [linux-i386-java]
XII. Install missed gems under choosen RUBY version
In general, it is done the following way (skip "sudo" for $USER wide installation)
Ruby: $> sudo gem install
JRuby: $> jruby gem install
$> gem install awesome_print simplecov minitest
Fetching: awesome_print-0.4.0.gem (100%)
Successfully installed awesome_print-0.4.0
Fetching: multi_json-1.0.3.gem (100%)
Fetching: simplecov-html-0.5.3.gem (100%)
Fetching: simplecov-0.5.4.gem (100%)
Successfully installed multi_json-1.0.3
Successfully installed simplecov-html-0.5.3
Successfully installed simplecov-0.5.4
Fetching: minitest-2.7.0.gem (100%)
Successfully installed minitest-2.7.0
5 gems installed
$> gem list
*** LOCAL GEMS ***
awesome_print (0.4.0)
bouncy-castle-java (1.5.0146.1)
bundler (1.0.21 ruby)
jruby-launcher (1.0.9 java)
jruby-openssl (0.7.4)
minitest (2.7.0)
multi_json (1.0.3)
rake (0.9.2, 0.8.7)
simplecov (0.5.4)
simplecov-html (0.5.3)