From 260c603ffb5684ee45633947644cee36db43aac1 Mon Sep 17 00:00:00 2001 From: William Vu Date: Thu, 26 Feb 2015 15:14:11 -0600 Subject: [PATCH] Fix msfconsole -L s/rb-readline/rb-readline-r7/ Should have been in #4816 (#4128). --- lib/msf/ui/console/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/ui/console/driver.rb b/lib/msf/ui/console/driver.rb index a999874e2a..729f3232dd 100644 --- a/lib/msf/ui/console/driver.rb +++ b/lib/msf/ui/console/driver.rb @@ -725,7 +725,7 @@ protected if opts['RealReadline'] # Remove the gem version from load path to be sure we're getting the # stdlib readline. - gem_dir = Gem::Specification.find_all_by_name('rb-readline').first.gem_dir + gem_dir = Gem::Specification.find_all_by_name('rb-readline-r7').first.gem_dir rb_readline_path = File.join(gem_dir, "lib") index = $LOAD_PATH.index(rb_readline_path) # Bundler guarantees that the gem will be there, so it should be safe to