Skip to content

Commit

Permalink
Dir[] returns relative paths in MRI 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nixme committed Feb 3, 2012
1 parent 0ed2b30 commit d88f97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pry-nav.rb
Expand Up @@ -7,7 +7,7 @@
require 'pry-nav/pry_remote_ext' if defined? PryRemote

module PryNav
TRACE_IGNORE_FILES = Dir[File.join(File.dirname(__FILE__), '**', '*.rb')]
TRACE_IGNORE_FILES = Dir[File.join(File.dirname(__FILE__), '**', '*.rb')].map { |f| File.expand_path(f) }

extend self

Expand Down

0 comments on commit d88f97b

Please sign in to comment.