Skip to content

Commit 0238443

Browse files
committed
Update .direnv info with specific PATH_add example
Adding `./bin` to `PATH` using `.direnv` can be problematic in Bash; see https://github.com/zimbatm/direnv/issues/133. Update to use `PATH_add` instead, which expands the full directory name.
1 parent 8a75bfd commit 0238443

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ will just be silently ignored and the lines after it will be executed as
6161
normal.
6262

6363
If you don't want to prefix every command you type with `bin/`, you
64-
can [use direnv](https://github.com/zimbatm/direnv) to automatically add
65-
`./bin` to your `PATH` when you `cd` into your application.
64+
can [use direnv](https://github.com/zimbatm/direnv#the-stdlib) to
65+
automatically add `./bin` to your `PATH` when you `cd` into your application.
66+
Simply create an `.envrc` file with the command `PATH_add bin` in your
67+
Rails directory.
6668

6769
### Usage
6870

0 commit comments

Comments
 (0)