We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$LOADED_FEATURES
$"
1 parent 42ed2f5 commit 7310d7aCopy full SHA for 7310d7a
lib/rake/application.rb
@@ -691,7 +691,7 @@ def handle_options(argv) # :nodoc:
691
692
# Similar to the regular Ruby +require+ command, but will check
693
# for *.rake files in addition to *.rb files.
694
- def rake_require(file_name, paths=$LOAD_PATH, loaded=$") # :nodoc:
+ def rake_require(file_name, paths=$LOAD_PATH, loaded=$LOADED_FEATURES) # :nodoc:
695
fn = file_name + ".rake"
696
return false if loaded.include?(fn)
697
paths.each do |path|
0 commit comments