Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ruby/shared/rubygems/defaults/jruby.rb
Original file line number Diff line number Diff line change
@@ -89,11 +89,11 @@ def dirs
end

def add_dir dir
new_dirs = [ dir ] + (@@dirs||[]).collect { |d| d.sub /.specifications/, '' }
new_dirs = [ dir ] + (@@dirs||[]).collect { |d| d.sub(/.specifications/, '') }
self.reset

# ugh
@@dirs = new_dirs.map { |dir| File.join dir, "specifications" }
@@dirs = new_dirs.map { |d| File.join d, "specifications" }
end

# Replace existing dirs=

0 comments on commit ddc62c4

Please sign in to comment.