#!/usr/bin/env ruby
# frozen_string_literal: true

require_relative "../bundler/spec/support/rubygems_ext"

if ["setup", "dev:deps", "dev:frozen_deps", "override_version", "spec:deps", "spec:parallel_deps"].include?(ARGV[0])
  Spec::Rubygems.gem_load_and_possibly_install("rake", "rake")
else
  Spec::Rubygems.gem_load("rake", "rake")
end
