Railties-4.0.1 - what happened to rake tmp:clear

MRI-2.0.0p247
Railties-4.0.1

We have a standalone Rails-3.2.15 based application that we are
upgrading
to 4.0.1. It uses only the following components of Rails-4.0.1:

  • actionmailer (4.0.1)
  • actionpack (4.0.1)
  • activemodel (4.0.1)
  • activerecord (4.0.1)
  • activesupport (4.0.1)
  • arel (4.0.1)
  • railties (4.0.1)

Bundler has a path setting which is:

path
Set for your local app (.bundle/config): “libexec/bundler/lib”

Evidently there has been some change in the search path for rake tasks
for
while the default tasks are present in
libexec/bundler/lib/ruby/2.0.0/gems/railties-4.0.1/lib/rails/tasks when
we
run rake tmp:clear we get this:

$ rake tmp:clear
rake aborted!
Don’t know how to build task ‘tmp:clear’

We did not have this problem with the components from Rails-3.2.x and
those
gems are located in the same directory tree. The default rake tasks
formerly ran without issue. The problem is directly related to the
change
to 4.0.1. I have tried to locate information about this matter but
cannot
find much and none of it appears relevant to me. Can anyone tell me
what
is going on and how I fix it?