Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions lib/rake/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -755,14 +755,7 @@ def glob(path, &block) # :nodoc:

# The directory path containing the system wide rakefiles.
def system_dir # :nodoc:
@system_dir ||=
begin
if ENV["RAKE_SYSTEM"]
ENV["RAKE_SYSTEM"]
else
standard_system_dir
end
end
@system_dir ||= ENV["RAKE_SYSTEM"] || standard_system_dir
end

# The standard directory containing system wide rake files.
Expand Down