Sha256: 44a074e1ffdddb466f1d2074f6aeb175c523d8bd5aae47cb7e56fc3476bc0131
Contents?: true
Size: 352 Bytes
Versions: 39
Compression:
Stored size: 352 Bytes
Contents
module SpecifiedBundler extend self def ensure! system("gem install bundler --conservative --version=#{bundler_version}") or raise "Cannot install bundler!" "(bundle check || bundle install)" end private def bundler_version lines = File.readlines("Gemfile.lock") lines.last.strip if lines[-2] == "BUNDLED WITH\n" end end
Version data entries
39 entries across 39 versions & 1 rubygems