The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

rvm.pl

WARNING!

This is an unstable development release not ready for production!

VERSION

Version 0.003011

SYNOPSIS

rvm.pl will provide a subset of the bash rvm.

INSTALL RUBY

It is recommended to use Ruby::VersionManager with local::lib to avoid interference with possibly installed system ruby. Ruby::VersionManager comes with a script rvm.pl with following options.

version

Show the version of Ruby::VersionManager.

    rvm.pl version

list

List available ruby versions.

    rvm.pl list

updatedb

Update database of available ruby versions.

    rvm.pl updatedb

install

Install a ruby version. If no version is given the latest stable release will be installed. The program tries to guess the correct version from the provided string. It should at least match the major release. If you need to install a preview or rc version you will have to provide the full exact version.

Latest ruby

    rvm.pl install

Latest ruby-1.8

    rvm.pl install 1.8

Install preview

    rvm.pl install ruby-1.9.3-preview1

To use the Ruby::VersionManager source ruby_vmanager.rc.

    source ~/.ruby_vmanager/var/ruby_vmanager.rc

uninstall

Remove a ruby version and the source dir including the downloaded archive. You have to provide the full exact version of the ruby you want to remove as shown with list.

    rvm.pl uninstall ruby-1.9.3-preview1

If you uninstall your currently active ruby version you have to install/activate another version manually.

reinstall_gems

Reinstalls all gems listed in the given file. When no file is given at the command line the output of 'gem list' is used to determine which gems to reinstall. The file has to be in the same format as the output of 'gem list'. This action is not intended to repair any gem installation but to install identical gemsets on multiple machines. Missing dependencies will not be fixed.

    rvm.pl reinstall_gems gem_list.txt # installs all gems in the list ignoring dependencies

    rvm.pl reinstall_gems # reinstalls all installed gems

LIMITATIONS AND TODO

Currently Ruby::VersionManager is only running on Linux with bash installed. Better support of gemsets needs to be added.

AUTHOR

Mugen Kenichi, <mugen.kenichi at uninets.eu>

BUGS

Report bugs at:

SUPPORT

  • Technical support

    <mugen.kenichi at uninets.eu>