Guides

Getting Started

Guides

Dependency Management

Gem Development

Publishing & Security

Integrations

Hosting & Sources

Extending

Troubleshooting

Concepts

Reference

Appendix

bundle open

Opens the source directory for a gem in your bundle

This reference was automatically generated from Bundler version 4.0.17.

bundle open [GEM] [--path=PATH]

Description

Opens the source directory of the provided GEM in your editor.

For this to work the EDITOR or BUNDLER_EDITOR environment variable has to be set.

Example:

bundle open 'rack'

Will open the source directory for the 'rack' gem in your bundle.

bundle open 'rack' --path 'README.md'

Will open the README.md file of the 'rack' gem source in your bundle.

Options

--path[=PATH]
Specify GEM source relative path to open.