Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Separate /Users/carllerche/.bundler/bin:/Users/carllerche/.rvm/gems/r…

…uby-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
  • Loading branch information...
commit 262d9615ff68194cdbb5b2aee6e5aa4e3d1682f7 1 parent bad5e4e
Carl Lerche authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/support/rubygems_ext.rb
View
2  spec/support/rubygems_ext.rb
@@ -5,7 +5,7 @@ def self.setup
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)

2 comments on commit 262d961

@carllerche

Great... bash expansion in the commit message.

@radar
Collaborator

$PATH? Whoops.

Please sign in to comment.
Something went wrong with that request. Please try again.