Skip to content

Commit c317d1c

Browse files
committed
OLD_BINSTUB should remain the same
1 parent d03a963 commit c317d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/spring/client/binstub.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Binstub < Command
4444
end
4545
CODE
4646

47-
OLD_BINSTUB = %{if Gem::Specification.find_all_by_name("spring").empty?}
47+
OLD_BINSTUB = %{if !Process.respond_to?(:fork) || Gem::Specification.find_all_by_name("spring").empty?}
4848

4949
class Item
5050
attr_reader :command, :existing

0 commit comments

Comments
 (0)