GithubHelp home page GithubHelp logo

puppet-rvm's Introduction

##Class: rvm

###Description RVM is the Ruby Version Manager. It allows you to install and manage several different versions and implementations of Ruby on one computer, including the ability to manage different sets of RubyGems one each.

###Parameters: This module takes no parameters directly. Reference ruby::define::{gem,user,version} for rvm management.

###Actions: Installs RVM, manages active versions, and can install gems for specific RVM instances.

###Requires:

  • Development Libraries: RVM manually compiles ruby, and requires dev libraries to bootstrap
  • Class[stdlib]. This is Puppet Labs standard library to include additional methods for use within Puppet. [https://github.com/puppetlabs/puppetlabs-stdlib]

###Sample Usage:

Install Ruby 1.8.7 and set as the default system ruby.

  rvm::define::version { 'ruby-1.8.7':
    ensure => 'present',
    system => 'true',
  }

Install Ruby Enterprise

  rvm::define::version { 'ree':
    ensure => 'present',
  }

Install Gem to specific RVM version

  rvm::define::gem { 'puppet':
    ensure       => 'present',
    gem_version  => '2.7.2',
    ruby_version => 'ree',
  }

puppet-rvm's People

Contributors

azizshamim avatar jfryman avatar

Stargazers

Shane Cowherd avatar  avatar

Watchers

 avatar James Cloos avatar

puppet-rvm's Issues

Support for RVM Binary install

RVM supports installing pre-built Ruby binaries, stored on RVM servers with:

rvm install --binary.

It also supports building binaries , so you can build your own Ruby binaries with:

rvm prepare 1.9.3 --install

I would like to maintain my own builds, as it allows IT provide support for the entire organization. puppet-rvm should support install ruby binary, along with support defining where do download the binaries.

  • rvm_remote_server_url - can be defined in $rvm_path/user/db
  • rvm_system_server_path - can be defined in $rvm_path/user/db, autodetected if not defined
  • rvm_ruby_string - is the name specified by user

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.