Skip to content

Commit 51a39a2

Browse files
authored
Update snippet content in README
Updated to match how the binstubs currently look.
1 parent d7b21ff commit 51a39a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ code into relevant existing executables. The snippet looks like this:
5050
``` ruby
5151
begin
5252
load File.expand_path('../spring', __FILE__)
53-
rescue LoadError
53+
rescue LoadError => e
54+
raise unless e.message.include?('spring')
5455
end
5556
```
5657

0 commit comments

Comments
 (0)