1#!/usr/bin/env ruby
2# frozen_string_literal: true
3
4#
5# This file was generated by Bundler.
6#
7# The application 'kamal' is installed as part of a gem, and
8# this file is here to facilitate running it.
9#
10
11ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
13bundle_binstub = File.expand_path("bundle", __dir__)
14
15if File.file?(bundle_binstub)
16 if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
17 load(bundle_binstub)
18 else
19 abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21 end
22end
23
24require "rubygems"
25require "bundler/setup"
26
27load Gem.bin_path("kamal", "kamal")