Yeah, I get the same error. The freeze:gem task is broken
A workaround is to just use this command:
svn export http://dev.rubyonrails.org/svn/rails/tags/rel_2-0-1/ vendor/
rails
On Dec 7, 7:57 pm, GSaldana
<gsald...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I recently updated my gems and first I got an error with Rails.
>
> Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
> dont install it as a dependency. At least not when upgrading from
> 1.2.6 to 2.0
>
> Then, when I try to freeze the gems to generate the new documentation,
> I get the following error:
>
> gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
> (in /home/gabriel/dummy)
> rake aborted!
> no such file to load -- /home/gabriel/dummy/config/../vendor/rails/
> railties/lib/initializer
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require''
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require''
> /home/gabriel/dummy/config/boot.rb:45:in `load_initializer''
> /home/gabriel/dummy/config/boot.rb:38:in `run''
> /home/gabriel/dummy/config/boot.rb:11:in `boot!''
> /home/gabriel/dummy/config/boot.rb:108
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require''
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require''
> /home/gabriel/dummy/Rakefile:4
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
> `raw_load_rakefile''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in
> `load_rakefile''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
> `standard_exception_handling''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in
> `load_rakefile''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
> `standard_exception_handling''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run''
> /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
> /usr/bin/rake:16:in `load''
> /usr/bin/rake:16
>
> Am I missing something or the rails 2.0 gems are missing something?
> Gems version is 0.9.5
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---