aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/rubygems_ext.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-08-20 15:13:39 -0700
committerCarl Lerche <carllerche@mac.com>2010-08-20 15:13:39 -0700
commit262d9615ff68194cdbb5b2aee6e5aa4e3d1682f7 (patch)
treef5358724f1b6c344a3bde261c78ac67b7de7cb3c /spec/support/rubygems_ext.rb
parentbad5e4ef414b2a4a931eedd2cf6b1a255e0e6a64 (diff)
downloadbundler-262d9615ff68194cdbb5b2aee6e5aa4e3d1682f7.tar.gz
Separate /Users/carllerche/.bundler/bin:/Users/carllerche/.rvm/gems/ruby-1.8.7-p302/bin:/Users/carllerche/.rvm/gems/ruby-1.8.7-p302@global/bin:/Users/carllerche/.rvm/rubies/ruby-1.8.7-p302/bin:/Users/carllerche/.rvm/bin:/Users/carllerche/.bundler/bin:/Users/carllerche/Developer/Go/bin:/Users/carllerche/Developer/Builds/bin:/Library/Application Support/VMware Fusion:/opt/local/lib/mysql5/bin:/opt/local/lib/postgresql83/bin:/Users/carllerche/.bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin with the appropriate OS specific separator
Diffstat (limited to 'spec/support/rubygems_ext.rb')
-rw-r--r--spec/support/rubygems_ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb
index d51fe70b..d0a3e2d4 100644
--- a/spec/support/rubygems_ext.rb
+++ b/spec/support/rubygems_ext.rb
@@ -5,7 +5,7 @@ module Spec
ENV['BUNDLE_PATH'] = nil
ENV['GEM_HOME'] = ENV['GEM_PATH'] = Path.base_system_gems.to_s
- ENV['PATH'] = "#{Path.root}/bin:#{Path.system_gem_path}/bin:#{ENV['PATH']}"
+ ENV['PATH'] = ["#{Path.root}/bin", "#{Path.system_gem_path}/bin", ENV['PATH']].join(File::PATH_SEPARATOR)
unless File.exist?("#{Path.base_system_gems}")
FileUtils.mkdir_p(Path.base_system_gems)