Guides

Getting Started

Guides

Dependency Management

Gem Development

Publishing & Security

Integrations

Hosting & Sources

Extending

Troubleshooting

Concepts

Reference

Appendix

bundle remove

Removes gems from the Gemfile

This reference was automatically generated from Bundler version 4.0.17.

`bundle remove [GEM [GEM ...]]

Description

Removes the given gems from the Gemfile while ensuring that the resulting Gemfile is still valid. If a gem cannot be removed, a warning is printed. If a gem is already absent from the Gemfile, and error is raised.

Example:

bundle remove rails

bundle remove rails rack