diff options
author | Michael Pitman <michaelp@ibglobalweb.com> | 2017-08-30 13:09:01 +1000 |
---|---|---|
committer | Michael Pitman <michaelp@ibglobalweb.com> | 2017-08-30 13:09:01 +1000 |
commit | 17e9a37c1a79d9c3220a90e36f5f32dc61c69245 (patch) | |
tree | 238d9ffc7673f193c534e89efbc39de5a6a31a24 /lib/bundler/shared_helpers.rb | |
parent | 22752b09366973ab9a05343aae7be9fb1bc14109 (diff) | |
download | bundler-17e9a37c1a79d9c3220a90e36f5f32dc61c69245.tar.gz |
Move the path_separator logic into the appropriate RubygemsIntegration classes
Diffstat (limited to 'lib/bundler/shared_helpers.rb')
-rw-r--r-- | lib/bundler/shared_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 7a8dda6e60..a18966b324 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -221,7 +221,7 @@ module Bundler private def validate_bundle_path - path_separator = Gem.respond_to?(:path_separator) ? Gem.path_separator : File::PATH_SEPARATOR + path_separator = Bundler.rubygems.path_separator return unless Bundler.bundle_path.to_s.split(path_separator).size > 1 message = "Your bundle path contains text matching #{path_separator.inspect}, " \ "which is the path separator for your system. Bundler cannot " \ |