Help with rake

Can anyone tell me exactly how rake works? How does it know what to do?

Also, when I run rake db:anything, it changes my schema file to an
autogenerated format, can anyone tell me where it gets the info for
this?

Thanks

On Dec 7, 2006, at 15:00 , Jeremy W. wrote:

Can anyone tell me exactly how rake works? How does it know what to
do?

Jim W.'s site onestepback.org has several articles on how rake
does what it does:

http://www.google.com/search?q=site%3Aonestepback.org+rake

If you want the short answer, it builds a dependency tree, performs a
topological sort, then runs things in order until done.

Also, when I run rake db:anything, it changes my schema file to an
autogenerated format, can anyone tell me where it gets the info for
this?

Ask the Rails list.


Eric H. - [email protected] - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!

Jeremy W. wrote:

Can anyone tell me exactly how rake works? How does it know what to do?

I found this article to be a great introduction to rake:

Using the Rake Build Language

Thanks for the help.