We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
standard_system_dir
1 parent 8737538 commit 496e60dCopy full SHA for 496e60d
1 file changed
lib/rake/application.rb
@@ -754,12 +754,10 @@ def system_dir # :nodoc:
754
end
755
756
# The standard directory containing system wide rake files.
757
- if Win32.windows?
758
- def standard_system_dir #:nodoc:
+ def standard_system_dir #:nodoc:
+ if windows?
759
File.join(Dir.home, "Rake")
760
- end
761
- else
762
+ else
763
File.join(Dir.home, ".rake")
764
765
0 commit comments