mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip already extracted gems
This commit is contained in:
parent
ed22bf47cc
commit
c904844578
1 changed files with 2 additions and 1 deletions
|
@ -1311,7 +1311,8 @@ extract-gems$(gnumake:yes=-nongnumake): PHONY
|
|||
-e 'BEGIN {FileUtils.mkdir_p(d = ".bundle/gems")}' \
|
||||
-e 'gem, ver = *$$F' \
|
||||
-e 'next if !ver or /^#/=~gem' \
|
||||
-e 'Gem.unpack("gems/#{gem}-#{ver}.gem", d)' \
|
||||
-e 'g = "#{gem}-#{ver}"' \
|
||||
-e 'File.directory?("#{d}/#{g}") or Gem.unpack("gems/#{g}.gem", d)' \
|
||||
gems/bundled_gems
|
||||
|
||||
update-bundled_gems: PHONY
|
||||
|
|
Loading…
Add table
Reference in a new issue