From a08cd0faccad9a4aa3b12927b42033bdc4ae488d Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Tue, 31 Jan 2023 10:56:09 +0700 Subject: [PATCH] Documentation should reflect reality --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 4db79f6e..9eb04a4e 100644 --- a/README.md +++ b/README.md @@ -48,17 +48,10 @@ This generates a `bin/spring` executable, and inserts a small snippet of code into relevant existing executables. The snippet looks like this: ``` ruby -begin load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end ``` -On platforms where Spring is installed and supported, this snippet -hooks Spring into the execution of commands. In other cases, the snippet -will just be silently ignored, and the lines after it will be executed as -normal. +This will cause the application to fail to load on platforms which do not install the Spring gem, e.g. Production. If you don't want to prefix every command you type with `bin/`, you can [use direnv](https://github.com/direnv/direnv#the-stdlib) to