---
name: "bundle-open"
section: "1"
platform: "linux"
package: "ruby-bundler"
version: "4.0.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/bundle-open"
---

# bundle-open(1)

Opens the source directory for a gem in your bundle

## NAME

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

## SYNOPSIS

**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.
