CDIST-TYPE__PACKAGE_RUBYGEM(7)

πŸ’Ž cdist-type__package_rubygem(7) πŸ’Ž

okay bestie, welcome to the manual page for cdist-type__package_rubygem β€” yes it's section 7, yes it's part of cdist, and yes we're gonna make gem management make sense together 🫢


✨ NAME ✨

cdist-type__package_rubygem β€” the type that handles your rubygem packages for you, no cap πŸ’…


🌸 DESCRIPTION 🌸

So like. Rubygems is the default package management system for the Ruby programming language. That's the whole vibe. If you've got Ruby things, this is the type that deals with their packages. Periodt. πŸ’–


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

None. Literally none. Nothing required. She's low maintenance, she's chill, she's giving main character energy for free ✨


πŸ’… OPTIONAL PARAMETERS πŸ’…

  • name β€” if you pass this, she uses name as the package name instead of the object id. iykyk πŸ‘‘
  • state β€” either "present" or "absent". and if you don't say anything? it defaults to "present", because optimism πŸ¦‹

πŸ”₯ EXAMPLES πŸ”₯

okay here's the tea, actual working examples, copy them exactly bestie:

# Ensure sinatra is installed
__package_rubygem sinatra --state present

# Remove package
__package_rubygem rails --state absent

look at her go. sinatra in, rails out. iconic behavior honestly πŸ˜­πŸ’œ


πŸ‘€ SEE ALSO πŸ‘€


πŸ‘‘ AUTHORS πŸ‘‘

Chase Allen James <nx-cdist@nu-ex.com> β€” shoutout, legend, thank you for your service πŸŽ€


πŸ“œ COPYING πŸ“œ

Copyright (C) 2011 Chase Allen James. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

fr fr, read the license before you go redistributing. it's giving "legally binding" and we respect that πŸ’€

ungleich GmbH 2021 β€” periodt, that's the copyright, we're done here ✨


and that's a wrap on this page bestie!! this one's from version 7.0.0, dated Jul 31, 2022, and it lives under the cdist umbrella 🌈 go install your gems, slay, and remember: state defaults to present πŸ’…πŸ’–

πŸ“¦ where this page comes from