Fix errors if pry-nav is unavailable

This commit is contained in:
yan 2012-05-30 16:31:54 -07:00
parent a6b9f3e9ef
commit 057856d34d

View File

@ -2,9 +2,9 @@
Pry.editor = 'vi' Pry.editor = 'vi'
# == Pry-Nav - Using pry as a debugger == # == Pry-Nav - Using pry as a debugger ==
Pry.commands.alias_command 'c', 'continue' Pry.commands.alias_command 'c', 'continue' rescue nil
Pry.commands.alias_command 's', 'step' Pry.commands.alias_command 's', 'step' rescue nil
Pry.commands.alias_command 'n', 'next' Pry.commands.alias_command 'n', 'next' rescue nil
# === CUSTOM PROMPT === # === CUSTOM PROMPT ===
# This prompt shows the ruby version (useful for RVM) # This prompt shows the ruby version (useful for RVM)