Project

rvm-with

0.01
No commit activity in last 3 years
No release in over 3 years
RVM Interactive scripting wrapper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 3.0
 Project Readme

RVM-with

Description

RVM Interactive scripting wrapper

Installation

RVM-with is now available as a separate gem

$ gem install rvm-with

Example

It should be simple as:

require "rvm/with"
RVM.with "1.9.3" do |r|
  puts r.execute "rvm info"
end

This gem is based on session gem, so you can do all the same things you would do with it:

stdout, stderr = r.execute "rvm current"
if r.status == 0
  puts stdout
else
  puts "failed"
end

Development

$ rake spec