CDIST-TYPE__RVM_RUBY(7)

✨ cdist-type__rvm_ruby ✨

okay bestie, so this is a cdist type β€” and it's literally the one that handles your ruby installs, but like... the ✨fancy✨ way. through rvm. let's get into it πŸ’…


πŸ’– NAME πŸ’–

cdist-type__rvm_ruby β€” manage ruby installations through rvm πŸ¦‹


🌸 DESCRIPTION 🌸

RVM is the Ruby enVironment Manager for the Ruby programming language. that's it. that's the vibe. it installs and manages your rubies for you so you don't have to rawdog your gem situation, no cap πŸ‘‘


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

okay so these are the ones you literally cannot skip, like they're required required:

  • user β€” the remote user account to use. who's getting this ruby? tell us. 🫢
  • state β€” either "present" or "absent", and it defaults to "present". so if you don't say anything, it's assuming you want the thing there. lowkey chill of it. ⭐

πŸ’œ BOOLEAN PARAMETERS πŸ’œ

  • default β€” set the given version as default. main character energy for that one specific ruby πŸŽ€

🌈 EXAMPLES 🌈

okay here's how you'd actually use it, real scenarios, iykyk:

# Install ruby 1.9.3 through rvm for user thelonious
__rvm_ruby ruby-1.9.3-p0 --user thelonious --state present

# Install ruby 1.9.3 through rvm for user ornette and make it the default
__rvm_ruby ruby-1.9.3-p0 --user ornette --state present --default

# Remove ruby 1.9.3 for user john
__rvm_ruby ruby-1.9.3-p0 --user john --state absent

see? install it, install it AND crown it default, or yeet it. three moods, all iconic πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

these ones are its besties, go read them too:


πŸ¦‹ AUTHORS πŸ¦‹

Evax Software <contact@evax.fr> β€” shoutout to them, they ate 🌸


πŸ‘‘ COPYING πŸ‘‘

Copyright (C) 2012 Evax Software. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).


ungleich GmbH 2021


okay that's the whole thing, periodt. this page is from cdist 7.0.0, dated Jul 31, 2022, and it's brought to you by ungleich GmbH 2021 β€” thanks for coming to my ted talk, go install a ruby πŸ“πŸ’œ

πŸ“¦ where this page comes from