Rails 2.0 Preview Release
Tried the new Rails version. After
$ rails rls20PR && cd rls20PR $ rake rails:freeze:edge TAG=rel_2-0-0_PR $ rake rails:update
for every rake task i've got:
rake aborted! no such file to load -- active_resource
The problem: edge_rails requires ActiveResource, and the rake freeze:edge:rails don't checkout it.
The solution:
$ svn co http://svn.rubyonrails.org/rails/trunk/activeresource vendor/rails/activeresource $ script/about ... Edge Rails revision 7712
Update 04-Oct-2007: via s.ross post to the "Ruby on Rails: Talk" Google Group:
Do another rake rails:freeze:edge. I know it sounds strange, but the first one installs a lot of the edge version as well as the Rake tasks. The second time you do it, the new Rake task knows enough to grab ActiveResource.
so the right procedure is:
$ rails --version Rails 1.2.3 $ rails rls20PR && cd rls20PR $ rake rails:freeze:edge TAG=rel_2-0-0_PR $ rake rails:update $ rake rails:freeze:edge TAG=rel_2-0-0_PR
Update 05-Oct-2007: Another way to have a fresh rails2 directory:
$ sudo svn co http://svn.rubyonrails.org/rails/tags/rel_2-0-0_PR /opt/rails2 $ ruby /opt/rails2/railties/bin/rails rls20PR $ cd rls20PR/vendor $ ln -s /opt/rails2 rails