diff options
Diffstat (limited to 'lib/bundler/templates/Executable')
-rwxr-xr-x | lib/bundler/templates/Executable | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/templates/Executable b/lib/bundler/templates/Executable index 5c60c283..cc9e06cf 100755 --- a/lib/bundler/templates/Executable +++ b/lib/bundler/templates/Executable @@ -6,11 +6,11 @@ # this file is here to facilitate running it. # -require 'pathname' -ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../<%= relative_gemfile_path %>", +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../<%= relative_gemfile_path %>", Pathname.new(__FILE__).realpath) -require 'rubygems' -require 'bundler/setup' +require "rubygems" +require "bundler/setup" -load Gem.bin_path('<%= spec.name %>', '<%= executable %>') +load Gem.bin_path("<%= spec.name %>", "<%= executable %>") |