diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-05-04 17:00:40 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-05-04 17:00:40 -0700 |
commit | c7e5a7d7488947f67858b87d5bbb3597cca5d16a (patch) | |
tree | b62e48bf83ec59fd331f959c7df50719fb98e779 | |
parent | 94be4481dd55c7c0a562edcdc72d28b7bba3b500 (diff) | |
download | bundler-c7e5a7d7488947f67858b87d5bbb3597cca5d16a.tar.gz |
set `@wrappers` and `@env_shebang` to true
these conditionals would always evaluate to `true`, so just directly set
them to true without checking the option value
-rw-r--r-- | lib/bundler/source/path/installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/path/installer.rb b/lib/bundler/source/path/installer.rb index 6f264489..a3e71e37 100644 --- a/lib/bundler/source/path/installer.rb +++ b/lib/bundler/source/path/installer.rb @@ -11,8 +11,8 @@ module Bundler @gem_bin_dir = "#{Bundler.rubygems.gem_dir}/bin" @bin_dir = Bundler.requires_sudo? ? @tmp_bin_dir : @gem_bin_dir @gem_dir = Bundler.rubygems.path(spec.full_gem_path) - @wrappers = options[:wrappers] || true - @env_shebang = options[:env_shebang] || true + @wrappers = true + @env_shebang = true @format_executable = options[:format_executable] || false @build_args = options[:build_args] || Bundler.rubygems.build_args end |