From 1d63ff22dea09029c7c2a1cfe28e59c6532cdf4f Mon Sep 17 00:00:00 2001 From: John Mair Date: Wed, 14 Sep 2011 06:06:45 +1200 Subject: [PATCH] fixed one more failing test for rbx, only one more to go --- lib/pry/default_commands/introspection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/default_commands/introspection.rb b/lib/pry/default_commands/introspection.rb index 80876479..faa683ff 100644 --- a/lib/pry/default_commands/introspection.rb +++ b/lib/pry/default_commands/introspection.rb @@ -166,7 +166,7 @@ class Pry bt_index = opts[:ex].to_i ex_file, ex_line = ex.bt_source_location_for(bt_index) - if is_core_rbx_path?(ex_file) + if ex_file && is_core_rbx_path?(ex_file) file_name = rbx_convert_path_to_full(ex_file) else file_name = ex_file