Problem
One of the startup messages says: '"debug" to start integration with the "debug" gem'
Actually, debug command only works when IRB was started with binding.irb. The evidence is
|
unless binding_irb? |
|
puts "Debugging commands are only available when IRB is started with binding.irb" |
|
return |
So, technically speaking, that startup message could be wrong.
Solution
One simple solution is just deleting that message.
Another solution could be mentioning the fact in that message, but I personally don't like it because the massage will be too long.
Problem
One of the startup messages says:
'"debug" to start integration with the "debug" gem'Actually,
debugcommand only works when IRB was started withbinding.irb. The evidence isirb/lib/irb/command/debug.rb
Lines 32 to 34 in 35b87cf
So, technically speaking, that startup message could be wrong.
Solution
One simple solution is just deleting that message.
Another solution could be mentioning the fact in that message, but I personally don't like it because the massage will be too long.