From 02384436aaf3f78d61bc8fa9e97b0e3de48143c9 Mon Sep 17 00:00:00 2001 From: irontoby Date: Sun, 3 Aug 2014 16:24:42 -0400 Subject: [PATCH] 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. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c8a3b39..b117cbbe 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,10 @@ will just be silently ignored and the lines after it will be executed as normal. If you don't want to prefix every command you type with `bin/`, you -can [use direnv](https://github.com/zimbatm/direnv) to automatically add -`./bin` to your `PATH` when you `cd` into your application. +can [use direnv](https://github.com/zimbatm/direnv#the-stdlib) to +automatically add `./bin` to your `PATH` when you `cd` into your application. +Simply create an `.envrc` file with the command `PATH_add bin` in your +Rails directory. ### Usage