File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Gem::Specification.new do |s|
1919
2020 s . add_dependency 'data_uri' , '~> 0.1'
2121 s . add_dependency 'ffi-rzmq'
22+ s . add_dependency 'irb'
2223 s . add_dependency 'mime-types' , '>= 3.3.1'
2324 s . add_dependency 'multi_json' , '~> 1.11'
2425
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def initialize(config_file, session_adapter_name=nil)
5050
5151 @events = EventManager . new ( EVENTS )
5252 @execution_count = 0
53- @backend = create_backend
53+ @backend = PlainBackend . new
5454 @running = true
5555
5656 self . class . events . trigger ( :initialized , self )
@@ -84,14 +84,6 @@ def initialize(config_file, session_adapter_name=nil)
8484 # @see IRuby::Kernel.events
8585 attr_reader :events
8686
87- # @private
88- def create_backend
89- PryBackend . new
90- rescue Exception => e
91- IRuby . logger . warn "Could not load PryBackend: #{ e . message } \n #{ e . backtrace . join ( "\n " ) } " unless LoadError === e
92- PlainBackend . new
93- end
94-
9587 # Switch the backend (interactive shell) system
9688 #
9789 # @param backend [:irb,:plain,:pry] Specify the backend name switched to
You can’t perform that action at this time.
0 commit comments