aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/templates/Executable.standalone
blob: 4bf0753f44d53e6f02ef0fa26eee964f02a641ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env <%= Bundler.settings[:shebang] || RbConfig::CONFIG["ruby_install_name"] %>
#
# This file was generated by Bundler.
#
# The application '<%= executable %>' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
path = Pathname.new(__FILE__)
$:.unshift File.expand_path "../<%= standalone_path %>", path.realpath

require "bundler/setup"
load File.expand_path "../<%= executable_path %>", path.realpath