Platform dependend path separator #120

valodzka opened this Issue Nov 27, 2009 · 1 comment


None yet

2 participants

Bundler doesn't use platform-independent path separator and this causes invalid PATH variable at least on windows.

bundler / lib / bundler / templates / environment.erb, line 10 instead of

  ENV["PATH"]     = "#{dir}/<%= bindir %>:#{ENV["PATH"]}"

should be

 ENV["PATH"]     = "#{dir}/<%= bindir %>#{File::PATH_SEPARATOR}#{ENV["PATH"]}"

And same for enviroment.rb

ghost commented Dec 9, 2009

Use platform-independent path-separator. Closed by d794186

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment