> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/using-platform/working-with-seal-apps/artifact-server/bundler.md).

# Editing Bundler dependencies

## Direct dependencies

The Bundler manifest is `Gemfile`. Update the gem version constraint:

```diff
-gem 'rails', '7.0.4'
+gem 'rails', '7.0.4-sp1'
```

Run `bundle install`; the resolved gem is the sealed version pulled through `ruby.sealsecurity.io`.

## Transitive dependencies (add a gem entry)

Bundler does not have a dedicated transitive-override syntax. To force a transitive to a sealed version, add a `gem` entry for it directly in `Gemfile`, pinned to the sealed version:

```diff
 gem 'rails', '7.0.4'
+gem 'nokogiri', '1.15.6-sp1'
```

Bundler's resolver treats the new entry as a direct requirement, which takes precedence over the version any depending gem asks for. The entry does not have to be adjacent to the gem that brings the transitive in.

## Related

* [Configuring Bundler](/setup-apps-os/artifact-server/configuring-package-managers/bundler.md): the package-manager setup that points Bundler at the Seal Artifact Server.
