Skip to content

Commit a4454e6

Browse files
authored
Merge pull request #608 from pvdb/use_dir_home
refactor: use `Dir.home` to find `rake`'s standard system dir
2 parents 6ba4601 + ef3b470 commit a4454e6

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)