Sha256: 2ec2eab534db4caef479860cce8b9afcd3919c71c0d6465c4168e01105ffda6f
Contents?: true
Size: 415 Bytes
Versions: 15
Compression:
Stored size: 415 Bytes
Contents
#!/usr/bin/env ruby require 'fileutils' include FileUtils # path to your application root. APP_ROOT = File.expand_path('..', __dir__) def system!(*args) puts "Run: #{args.join(' ')}" system(*args) || abort("\n== Command #{args} failed ==") end chdir APP_ROOT do puts "\n== Installing dependencies ==" system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') end
Version data entries
15 entries across 7 versions & 1 rubygems