mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip comment and empty lines in gems/bundled_gems file
This commit is contained in:
parent
41168f69fb
commit
358f91bf6f
5 changed files with 9 additions and 2 deletions
|
@ -9,6 +9,7 @@ gem_dir = File.realpath('../../gems', __FILE__)
|
|||
exit_code = 0
|
||||
ruby = ENV['RUBY'] || RbConfig.ruby
|
||||
File.foreach("#{gem_dir}/bundled_gems") do |line|
|
||||
next if /^\s*(?:#|$)/ =~ line
|
||||
gem = line.split.first
|
||||
puts "\nTesting the #{gem} gem"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue