summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xAB <0xAB@protonmail.com>2017-09-02 15:06:40 +0100
committer0xAB <0xAB@protonmail.com>2017-09-02 15:06:40 +0100
commitc988595b65e415f518c68dea872db02eb8c20082 (patch)
tree262fcd01e89884c208861014fc988c85e3a600a7
parentc01f3deac100e1dbb737c40f6081fbb3d8a04e8e (diff)
downloadpry-c988595b65e415f518c68dea872db02eb8c20082.tar.gz
disable "gems" & "did_you_mean" features on jruby
-rw-r--r--lib/pry/helpers/text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/helpers/text.rb b/lib/pry/helpers/text.rb
index c88d9783..bd9af9ff 100644
--- a/lib/pry/helpers/text.rb
+++ b/lib/pry/helpers/text.rb
@@ -82,7 +82,7 @@ class Pry
require 'open3' if not defined?(Open3)
Open3.popen3 DISPLAY_CMD % {ruby: RbConfig.ruby,
str: str,
- impl_specific_options: jruby? ? "--dev --client" : ""} do |_,out,_|
+ impl_specific_options: jruby? ? "--dev --client --disable=gems --disable=did_you_mean" : ""} do |_,out,_|
str == out.gets.chomp
end
end