Git and GitHub setup

We’ll be using Git for our version control system which has become a default version control system for most of the developers.

It also integrates well with GitHub account. If you don’t already have a GitHub account, make sure to create one.

Now, replace the your name and your email in the following steps with the ones you used for your GitHub account.

git config --global user.name "your name"
git config --global user.email "your-email@domain.com"
git config --global core.editor "vim" # make vim as your default Git editor

Setup Editor

I personally recommend VS Code which has become popular among developers in recent years. In fact, VSCode tops the StackOverflow 2019 survey for Most Popular Development Environments.

It offers wide range of features like:

  • Intellisense: For code-completion and syntax highlighting
  • Extension: Third-party plugins that makes VSCode more usable
  • Git Integrated Terminal: Provides a built-in terminal inside VSCode

Check this nice blog on Beginners guide for Ruby on Rails ready VS Code.

I would recommend you to install extensions mentioned above to have nice experience in developing Ruby on Rails application.