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

···

--
Posted via http://www.ruby-forum.com/.

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

Jim Weirich'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.

···

On Dec 7, 2006, at 15:00 , Jeremy Woertink wrote:

--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!

Jeremy Woertink 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.

···

--
Posted via http://www.ruby-forum.com/.