We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ENV["RAKE_SYSTEM"]
1 parent 4538838 commit a54cbe5Copy full SHA for a54cbe5
1 file changed
lib/rake/application.rb
@@ -755,14 +755,7 @@ def glob(path, &block) # :nodoc:
755
756
# The directory path containing the system wide rakefiles.
757
def system_dir # :nodoc:
758
- @system_dir ||=
759
- begin
760
- if ENV["RAKE_SYSTEM"]
761
- ENV["RAKE_SYSTEM"]
762
- else
763
- standard_system_dir
764
- end
765
+ @system_dir ||= ENV["RAKE_SYSTEM"] || standard_system_dir
766
end
767
768
# The standard directory containing system wide rake files.
0 commit comments