Docs header transparent bg

bundle open

bundle-open - Opens the source directory for a gem in your bundle

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


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.


bundle open 'rack'

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

bundle open 'rack' --path ''

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


Specify GEM source relative path to open.
Edit this document on GitHub if you caught an error or noticed something was missing.