Forum: Ruby on Rails rake doc:rails -- fails.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6f9418c7978f7f3116b70fc08682161f?d=identicon&s=25 Ken Wagner (beaucoder)
on 2008-12-25 11:48
rake doc:rails fails with:

Don't know how to build task 'vendor/rails/railties/CHANGELOG'


How to fix?

Rails 2.2.2, Rake 0.8.3.

Thanks,

Ken
556fa76457d930880bea41a80a848867?d=identicon&s=25 Martin No (html-kurs)
on 2008-12-25 19:23
(Received via mailing list)
Ken Wagner schrieb:
> rake doc:rails fails with:
>
> Don't know how to build task 'vendor/rails/railties/CHANGELOG'
>
>
> How to fix?
>

I think you have to freeze rails first:

 > rake rails:freeze:gems
and then call
 > rake doc:rails

Martin
6f9418c7978f7f3116b70fc08682161f?d=identicon&s=25 Ken Wagner (beaucoder)
on 2008-12-26 08:16
Martin No wrote:

> I think you have to freeze rails first:
>
>  > rake rails:freeze:gems
> and then call
>  > rake doc:rails
>
> Martin

Huh. I ran rake rails:freeze:gems and then rake doc:rails and rake
doc:app


It all worked well.

Anyone know why we have to "freeze:gems?"

Very curious.
This topic is locked and can not be replied to.