You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is common for non-file-based tasks to be given names as symbols. It is also common to use symbols as the names of prereq tasks. However, when attempting to define a rule which has non-file-based prereqs, rule will not accept Symbols as prereqs.
task :nonfile
rule ".json" => ['%d', :nonfile] do
end
The output is:
rake aborted!
Don't know how to handle rule dependent: :nonfile
The cause of the error is traced to TaskManager where Symbol is not a valid case match.
It is common for non-file-based tasks to be given names as symbols. It is also common to use symbols as the names of prereq tasks. However, when attempting to define a rule which has non-file-based prereqs,
rule
will not accept Symbols as prereqs.The output is:
The cause of the error is traced to TaskManager where
Symbol
is not a valid case match.rake/lib/rake/task_manager.rb
Line 303 in 4fe73ff
The text was updated successfully, but these errors were encountered: