ruby-standalone1
Use (only) the ruby interpreter from debian
Usage
ruby-standalone
ruby-standalone [PROGRAM]
[ARGS]
Overview
ruby-standlone allows one to use the Ruby interpreter provided by Debian (and thus get security support for stable releases), without having to also use Ruby libraries and applications from Debian.
When called with no arguments, ruby-standalone will spawn a new shell, where all of the standard Ruby programs (ruby, erb, gem, irb, rdoc, ri, testrb) in $PATH will never use code from Debian-provided packages.
Otherwise, PROGRAM will be called with ARGS as arguments, in that same context.
Caveat: if PROGRAM is not installed as a Rubygem and is installed by a Debian package, the Debian package version will be used.
Use cases
ruby-standalone makes it possible to:
- •
-
install
vagrantfrom the Debian repository and at the sime time develop a Ruby web application that needs gem versions different than the ones that were pulled in from the Debian repository whenvagrantwas installed.
- •
-
install
cheffrom the Debian repository on a node that will host an application that needs different gem versions than the oneschefneeds.
- •
-
on the same server, host
redmineinstalled from the Debian repository and in-house Rails application that needs a different version of Rails than the one Debian provides.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.