diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
commit | a77ca278809d7f31fa51e4b821faed86324c8275 (patch) | |
tree | da1c6c68b24fdcab9acfc07b6a352a39af1c6f4e /lib/bundler/templates | |
parent | af694073229af89af205d24ff449f51f74316a37 (diff) | |
download | bundler-a77ca278809d7f31fa51e4b821faed86324c8275.tar.gz |
[RuboCop] Enable Style/StringLiterals
Diffstat (limited to 'lib/bundler/templates')
-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 %>") |