NAME

PPRVM - The great new Perl Powered RVM!

VERSION

Version 0.02.15

SYNOPSIS

This module provides a subset of rvm's functionality. It aims to be more friendly to use when autogenerating users.

The config can be provided as hash referene or PPRVM::Config object.

use PPRVM;

my $rvm = PPRVM->new(
    config => {
        rootdir => '.pprvm',
    },
);


use PPRVM;
use PPRVM::Config;

my $config = PPRVM::Config->new(
    rootdir => '.pprvm',
)

my $rvm = PPRVM->new(
    config => $config,
);

SUBROUTINES/METHODS

bootstrap

Will create the directory structure according to the given config.

my $result = $rvm->bootstrap;

install

Will install OR change to the ruby version given.

my $result = $rvm->install;

is_installed

Will return 1 if the given ruby version is installed and 0 if it is not.

my $result = $rvm->is_installed('ruby-1.9.2-p180');

AUTHOR

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

BUGS

Report bugs at:

SUPPORT

  • Technical support

    <mugen.kenichi at uninets.eu>