Skip to content

Commit dc7fdaa

Browse files
committed
Clarify that Gemfile :path points to unpacked gem sources
The :path option was misread as a way to install a packaged .gem file. State explicitly that it expects a directory with the gem's unpacked source code.
1 parent f912ac9 commit dc7fdaa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/bundler/man/gemfile.5.ronn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,9 @@ Since the `bitbucket` method is a specialization of `git_source`, it accepts a `
451451

452452
You can specify that a gem is located in a particular location
453453
on the file system. Relative paths are resolved relative to the
454-
directory containing the `Gemfile`.
454+
directory containing the `Gemfile`. The path must point to a
455+
directory containing the gem's unpacked source code, not to a
456+
packaged `.gem` file.
455457

456458
Similar to the semantics of the `:git` option, the `:path`
457459
option requires that the directory in question either contains

0 commit comments

Comments
 (0)