mirror of
https://github.com/pry/pry-rails.git
synced 2022-11-09 12:36:03 -05:00
commit
8baca018ce
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ module PryRails
|
|||
begin
|
||||
require 'pry'
|
||||
::IRB = Pry
|
||||
IRB::ExtendCommandBundle = Pry
|
||||
unless defined?(IRB::ExtendCommandBundle)
|
||||
IRB::ExtendCommandBundle = Module.new
|
||||
end
|
||||
rescue LoadError
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue