![Docs header transparent bg](/documentation/bundler/images/docs_header_transparent_bg.png)
Choose version
Primary Commands
Utilities
bundle open
bundle-open
- Opens the source directory for a gem in your bundle
bundle open
[GEM]
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.