Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix errors if pry-nav is unavailable

  • Loading branch information...
commit 057856d34dd15645592747162b4c2d0ef29cee59 1 parent a6b9f3e
@skwp authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 irb/pryrc
View
6 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)
Please sign in to comment.
Something went wrong with that request. Please try again.