ruby plugin is useful for Ruby-based parts. This plugin uses the common plugin keywords as well as those for sources. For more information, see Snapcraft parts metadata.
ⓘ This plugin is only available to core and core18 based snaps. See Base snaps for details.
The gem package manager and an associated Gemfile are used to install dependencies.
See Ruby applications for a simple example, or search GitHub for projects already using the plugin.
ⓘ This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.
This plugin uses the following plugin-specific keywords:
A list of gems to install.
Use bundler to install gems from a Gemfile (defaults to ‘false’).
The version of ruby you want this snap to run.