# Rake?

**URL:** <https://www.ruby-forum.com/t/rake/108985>\
**Category:** Ruby\
**Created:** [July 10, 2007, 10:13am UTC](https://www.ruby-forum.com/t/rake/108985 "2007-07-10T10:13:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ujjwal\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/57b2e6/32.png) [@Ujjwal\_T](https://www.ruby-forum.com/u/Ujjwal_T)\
**Post date:** [July 10, 2007, 10:13am UTC](https://www.ruby-forum.com/t/rake/108985/1 "2007-07-10T10:13:54Z")

</div>

Can a rake command create a Database (MySQL) from specifications in a  
.yml file???

I am newbie and I don’t understand how rake works ?? I am using  
windows…

Plz Help!!!

Regards,

Ujjwal

* * *

This e-mail communication and any attachments may be privileged and  
confidential to Hexaware and are intended only for the  
use of the recipients named above. If you are not the intended  
recipient, please do not review, disclose, disseminate,  
distribute or copy this e-mail and attachments. If you have received  
this email in error, please delete the same alongwith  
all attachments thereto and notify us immediately at  
removed\_email\_address@domain.invalid .

* * *

---

<div class="post-metadata">

**Author:** ![Ujjwal\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/57b2e6/32.png) [@Ujjwal\_T](https://www.ruby-forum.com/u/Ujjwal_T)\
**Post date:** [July 10, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/rake/108985/2 "2007-07-10T15:28:43Z")

</div>

On Jul 10, 2007, at 3:12 AM, Ujjwal T. wrote:

> Plz Help!!!
> 
> Regards,
> 
> Ujjwal

In short: Yes.  
ActiveRecord, the gem which is also a component of Ruby on Rails does  
this with it’s migrations feature.  
It could be a lot to learn to use it separately from Rails, but it is  
certainly possible and people do it.  
It is also fairly database agnostic, but use with MySQL is pretty  
well google-able…

---

<div class="post-metadata">

**Author:** ![Ujjwal\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/57b2e6/32.png) [@Ujjwal\_T](https://www.ruby-forum.com/u/Ujjwal_T)\
**Post date:** [July 15, 2007, 8:36am UTC](https://www.ruby-forum.com/t/rake/108985/3 "2007-07-15T08:36:07Z")

</div>

On Tue, Jul 10, 2007 at 10:26:55PM +0900, John J. wrote:

> ActiveRecord, the gem which is also a component of Ruby on Rails does  
> this with it’s migrations feature.  
> It could be a lot to learn to use it separately from Rails, but it is  
> certainly possible and people do it.

Hi,

perhaps

[O'Reilly Media - Technology and Business Training](http://www.oreillynet.com/lpt/a/7051)

helps…

Cheers

Bas

–  
Bas van Gils [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid), [http://www.van-gils.org](http://www.van-gils.org)  
[[[Thank you for not distributing my E-mail address]]]

Quod est inferius est sicut quod est superius, et quod est superius est  
sicut  
quod est inferius, ad perpetranda miracula rei unius.

---

<div class="post-metadata">

**Author:** ![Ujjwal\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/57b2e6/32.png) [@Ujjwal\_T](https://www.ruby-forum.com/u/Ujjwal_T)\
**Post date:** [July 16, 2007, 1:15am UTC](https://www.ruby-forum.com/t/rake/108985/4 "2007-07-16T01:15:32Z")

</div>

On 7/15/07, Bas van Gils [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [O'Reilly Media - Technology and Business Training](http://www.oreillynet.com/lpt/a/7051)
> 
> helps…

I hope you might have heard about ‘make’, which is a unix utility for  
running tasks. Rake is its hip cousin in the sense, it can do  
practically anything that “make” can do(and hence yes you can create  
databases and what not) and much more.

There are couple of excellent docs available about rake:

[http://docs.rubyrake.org/read/chapter/1](http://docs.rubyrake.org/read/chapter/1)

[http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial](http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial)

And if you feel fine then:

> **[Using the Rake Build Language](https://www.martinfowler.com/articles/rake.html)**
>
> A long-form article entitled: "Using the Rake Build Language"
