Skip to content

Commit ef3b470

Browse files
committed
Use more idiomatic Dir.home to find system dir
1 parent 450a439 commit ef3b470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rake/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def standard_system_dir #:nodoc:
765765
end
766766
else
767767
def standard_system_dir #:nodoc:
768-
File.join(File.expand_path("~"), ".rake")
768+
File.join(Dir.home, ".rake")
769769
end
770770
end
771771
private :standard_system_dir

0 commit comments

Comments
 (0)