What is Rake command in ROR

In the Unix tradition, the make utility has played an important role in building ex-ecutable programs from source code; many a computer hacker has committed to muscle memory the line
$ ./configure && make && sudo make install
commonly used to compile code on Unix systems (including Linux and Mac OS X). Rake is Ruby make, a make-like language written in Ruby. Rails uses Rake extensively,especially for the innumerable little administrative tasks necessary when developing database-backed web applications. The rake db:migrate command is probably the most common, but there are many others; you can see a list of database tasks
using -T db:
$ rake -T db
To see all the Rake tasks available, run
$ rake -T

Advertisements

Install GIT in Ubuntu

Installation

The git version control system is installed with the following command

sudo apt-get update
sudo apt-get install git

Configuration

Every git user should first introduce himself to git, by running these two commands:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

We can see all of the configuration items that have been set by typing:

git config --list
You can see your credentials
user.name=Your Name
user.email=youremail@domain.com