Sha256: 9da88ac8c020bd7c871f754995918d96ca7ba2ca713194a2884a9bcc94cd6a8a
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
def bundle_check `bundle check` == "Resolving dependencies...\nThe Gemfile's dependencies are satisfied\n" end command = 'bundle exec ruby -w -Ilib -Itest test/all.rb' gemfiles = %w(Gemfile) + Dir['gemfiles/Gemfile*'].reject { |f| f.end_with?('.lock') } results = gemfiles.map do |gemfile| puts "BUNDLE_GEMFILE=#{gemfile}" ENV['BUNDLE_GEMFILE'] = File.expand_path("../../#{gemfile}", __FILE__) unless bundle_check puts "bundle install" system('bundle install') end puts command system command end exit(results.inject(true) { |a, b| a && b })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i18n-0.5.4 | test/run_all.rb |