Wednesday, November 20, 2013

[Rails] 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?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/858db211-1b38-4dfe-9e81-41d6017ed5f2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate