• gedaliyah
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 month ago

    I have a really dumb question, but what is a gem?

    • vinnymac
      link
      fedilink
      English
      arrow-up
      30
      ·
      1 month ago

      Not a dumb question at all. A gem is a package format for a dependency in the Ruby programming language. It’s just packaged Ruby code.

      It’s analogous to a Rust crate, a Elixir hex package, a NodeJS module and so on. Most languages use the word package or module these days to refer to the same concept. 20+ years ago we just called them libraries though (C and Java)