To play with RJS I just made a “rake freeze edge”. But this copies only
the
libs into vendor/rails and any attempt of “rake update_javascripts”
fails.

But all the he required javascripts are there, at:
BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/

Except of prototype, they seem to have no version number, so I am asking
whether I should take those javascript files from there or checkout the
whole rails trunk and get them form Dir[RAILTIES_PATH +
‘/html/javascripts/*.js’] ?

A quick look at the soure repository shows that the javascripts are from
the
same revison, so now maybe I should change my question: why do we have
the
same set of scripts at two diffferent locations ?

A quick look at the soure repository shows that the javascripts are from the
same revison, so now maybe I should change my question: why do we have the
same set of scripts at two diffferent locations ?

Because they need to go in both the Rails package and in the Action
Pack package. Believe it or not, the later can actually be used as a
stand-alone framework :). Not a ton of people are doing that, though.

A quick look at the soure repository shows that the javascripts are from the
same revison, so now maybe I should change my question: why do we have the
same set of scripts at two diffferent locations ?

Action Pack has its own JS so that it can be used independently of
Rails. Running “rake update_javascripts” copies the scripts from
Railties’ html/javascripts/ directory. Both sets of scripts should
always be identical.