From 057856d34dd15645592747162b4c2d0ef29cee59 Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 30 May 2012 16:31:54 -0700 Subject: [PATCH] Fix errors if pry-nav is unavailable --- irb/pryrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irb/pryrc b/irb/pryrc index 72e375f..f236de2 100644 --- a/irb/pryrc +++ b/irb/pryrc @@ -2,9 +2,9 @@ Pry.editor = 'vi' # == Pry-Nav - Using pry as a debugger == -Pry.commands.alias_command 'c', 'continue' -Pry.commands.alias_command 's', 'step' -Pry.commands.alias_command 'n', 'next' +Pry.commands.alias_command 'c', 'continue' rescue nil +Pry.commands.alias_command 's', 'step' rescue nil +Pry.commands.alias_command 'n', 'next' rescue nil # === CUSTOM PROMPT === # This prompt shows the ruby version (useful for RVM)