aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/path_support.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 00:23:15 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 00:23:15 +0000
commit82e6c75d145224eae63aab862c213b0ed8f0daf0 (patch)
tree0d8ee6b8721757adc73d68442c667a4677899398 /lib/rubygems/path_support.rb
parent09af9d7f7ffe1bde891040e0232038130266ccbc (diff)
downloadruby-82e6c75d145224eae63aab862c213b0ed8f0daf0.tar.gz
* lib/rubygems/commands/contents_command.rb: Sort output from command.
Replaces r38004, r38005 * test/rubygems/test_gem_commands_contents_command.rb: ditto. * lib/rubygems/defaults.rb: Use Gem.path_separator for jruby support. * lib/rubygems/path_support.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/path_support.rb')
-rw-r--r--lib/rubygems/path_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/path_support.rb b/lib/rubygems/path_support.rb
index 059e372112..7195b322ef 100644
--- a/lib/rubygems/path_support.rb
+++ b/lib/rubygems/path_support.rb
@@ -54,7 +54,7 @@ class Gem::PathSupport
if gpaths.kind_of?(Array)
gem_path = gpaths.dup
else
- gem_path = gpaths.split(File::PATH_SEPARATOR)
+ gem_path = gpaths.split(Gem.path_separator)
end
if File::ALT_SEPARATOR then