rake basics

Rake is ruby make, a make-like language in ruby. make has been used to build code in linux & unit environment.

$ bundle exec rake db:migrate

This execute migrate db scripts. Use bundle exec, to run the version of rake in your gem file.

$ bundle exec rake -T db
$ bundle exec rake -T
You can see rake commands.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s