RUBY-STANDALONE(1)

πŸ“¦
version 3.0~2 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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