diff -r 8d69c9dfb5e2 -r 22633c0739e2 Debugger/DebuggerInterfaceRuby.py --- a/Debugger/DebuggerInterfaceRuby.py Mon Mar 10 19:22:15 2014 +0100 +++ b/Debugger/DebuggerInterfaceRuby.py Tue Mar 11 18:56:38 2014 +0100 @@ -19,7 +19,6 @@ import Preferences import Utilities -from Globals import isWindowsPlatform from eric5config import getConfig @@ -40,7 +39,10 @@ @return list of the following data. Client type (string), client capabilities (integer), client type association (list of strings) """ - return ["Ruby", ClientDefaultCapabilities, ClientTypeAssociations] + if Preferences.getDebugger("RubyInterpreter"): + return ["Ruby", ClientDefaultCapabilities, ClientTypeAssociations] + else: + return ["", 0, []] class DebuggerInterfaceRuby(QObject): @@ -143,8 +145,6 @@ a network connection (boolean) """ interpreter = Preferences.getDebugger("RubyInterpreter") - if interpreter == "" and not isWindowsPlatform(): - interpreter = "/usr/bin/ruby" if interpreter == "": E5MessageBox.critical( None,