File: README.md

package info (click to toggle)
ruby-standalone 2.7~5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 84 kB
  • sloc: sh: 95; makefile: 63; ansic: 25; ruby: 6
file content (45 lines) | stat: -rw-r--r-- 1,646 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ruby-standalone(1) - use (only) the Ruby interpreter from Debian
================================================================

## SYNOPSIS

**ruby-standalone**  
**ruby-standalone** [_PROGRAM_] [_ARGS_]

## DESCRIPTION

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 `vagrant` from 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 when `vagrant` was installed.

- install `chef` from the Debian repository on a node that will host an
  application that needs different gem versions than the ones `chef` needs.

- on the same server, host `redmine` installed from the Debian repository and
  in-house Rails application that needs a different version of Rails than the
  one Debian provides.

## LICENSE

Copyright © 2014-2020 Antonio Terceiro <terceiro@debian.org>

ruby-standalone is licensed under the same terms as Ruby itself. See the file
COPYING for details.