Rake?


#1

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 .



#2

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…


#3

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

http://www.oreillynet.com/lpt/a/7051

helps…

Cheers

Bas


Bas van Gils removed_email_address@domain.invalid, 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.


#4

On 7/15/07, Bas van Gils removed_email_address@domain.invalid wrote:

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://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial

And if you feel fine then:
http://www.martinfowler.com/articles/rake.html