Skip to content

Commit e2e0f42

Browse files
committed
Use Ruby's built-in & correct home dir on Windows
1 parent 276e38c commit e2e0f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rake/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def system_dir # :nodoc:
761761
# The standard directory containing system wide rake files.
762762
if Win32.windows?
763763
def standard_system_dir #:nodoc:
764-
Win32.win32_system_dir
764+
File.join(Dir.home, "Rake")
765765
end
766766
else
767767
def standard_system_dir #:nodoc:

0 commit comments

Comments
 (0)