```ruby glob = "*.gemspec" base_path = "file:/Users/headius/projects/jruby/test/jruby/gem.jar!/specifications" p Dir.glob(glob, base: base_path).map! {|f| File.expand_path(f, base_path) } p Dir.glob(File.expand_path(glob, base_path)) ```