RUBY-STANDALONE(1)
π RUBY-STANDALONE(1) π
okay bestie, welcome to ruby-standalone, section 1 of the General Commands Manual. yes it's a real thing, yes it's iconic, let's go π
β¨ NAME β¨
ruby-standalone β use (only) the Ruby interpreter from Debian π¦
πΈ SYNOPSIS πΈ
ruby-standalone
ruby-standalone [PROGRAM] [ARGS]
π DESCRIPTION π
so, ruby-standlone (yes that's how it's spelled up top, we don't gatekeep typos π) lets you use the Ruby interpreter that Debian gives you β which means you get security support for stable releases π‘οΈ β without also having to use Ruby libraries and applications from Debian. the interpreter? Debian's. the gems? literally yours. no cap.
when you call it with no arguments, ruby-standalone will spawn a new shell, and in that shell all of the standard Ruby programs β ruby, erb, gem, irb, rdoc, ri, testrb β that live in $PATH will never use code from Debian-provided packages. not even a little. periodt β¨
otherwise, PROGRAM gets called with ARGS as its arguments, in that exact same context. same vibe, same rules π«Ά
β οΈ caveat bestie, listen up: if PROGRAM is not installed as a Rubygem and is installed by a Debian package, then the Debian package version will be used. that's just how it is, i don't make the rules π
π 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.
likeβ¦ three whole worlds living on one server, coexisting, no drama. main character energy fr fr π₯
β 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. π
and that's the whole page bestie, you ate that π
this one's from April 2025, and it's RUBY-STANDALONE(1) β go forth and run your Ruby exactly how you want it, iykyk ππΈ
π¦ where this page comes from
- debian trixie: ruby-standalone 3.0~2 Β· 2C-BSD OR Ruby
- ubuntu resolute: ruby-standalone 3.0~2 Β· 2C-BSD OR Ruby
- ubuntu stonking: ruby-standalone 3.0~2 Β· 2C-BSD OR Ruby
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms