Module Multiruby
In: lib/multiruby.rb

multiruby_setup is a script to help you manage multiruby.

usage: multiruby_setup [-h|cmd|spec…]

  cmds:

    h, help         - show this help.
    list            - print installed versions.
    update          - update svn builds.
    update:rubygems - update rubygems and nuke install dirs.
    rubygems:merge  - symlink all rubygem dirs to one dir.
    rm:$version     - remove a particular version.
    clean           - clean scm build dirs and remove non-scm build dirs.

  specs:

    mri:svn:current        - alias for mri:svn:releases and mri:svn:branches.
    mri:svn:releases       - alias for supported releases of mri ruby.
    mri:svn:branches       - alias for active branches of mri ruby.
    mri:svn:branch:$branch - install a specific $branch of mri from svn.
    mri:svn:tag:$tag       - install a specific $tag of mri from svn.
    mri:tar:$version       - install a specific $version of mri from tarball.
    rbx:ln:$dir            - symlink your rbx $dir
    rbx:git:current        - install rbx from git

NOTES:

  • you can add a symlink to your rubinius build into ~/.multiruby/install
  • I‘ll get to adding support for other implementations soon.

Methods

Constants

MRI_SVN = "http://svn.ruby-lang.org/repos/ruby"
RBX_GIT = "git://git.rubini.us"
TAGS = %w( 1_8_6 1_8_7 1_9 )
BRANCHES = %w(1_8 1_8_6 1_8_7 trunk)
HELP = []

Public Class methods

[Validate]