Skip to content

Commit

Permalink
Made RUBY_CC_VERSION stick to ':' instead
Browse files Browse the repository at this point in the history
Usage of PATH_SEPARATOR is not portable. ';' on Windows.
(what was I thinking?)
  • Loading branch information
luislavena committed Nov 24, 2009
1 parent bade947 commit 1159f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/extensiontask.rb
Expand Up @@ -241,7 +241,7 @@ def define_native_tasks(for_platform = nil, ruby_ver = RUBY_VERSION, callback =

def define_cross_platform_tasks(for_platform)
if ruby_vers = ENV['RUBY_CC_VERSION']
ruby_vers = ENV['RUBY_CC_VERSION'].split(File::PATH_SEPARATOR)
ruby_vers = ENV['RUBY_CC_VERSION'].split(':')
else
ruby_vers = [RUBY_VERSION]
end
Expand Down

0 comments on commit 1159f43

Please sign in to comment.