15 lines
293 B
Ruby
Executable File
15 lines
293 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
unless ARGV.include?("--rakefile")
|
|
ARGV.push("--rakefile", File.expand_path("../Rakefile", __dir__))
|
|
end
|
|
|
|
begin
|
|
load File.expand_path("spring", __dir__)
|
|
rescue LoadError
|
|
nil
|
|
end
|
|
require "bundler/setup"
|
|
load Gem.bin_path("rake", "rake")
|