Setting Up a Development Environment
Explore how to prepare your development environment for building Rails APIs by installing text editors, Ruby, Rails, and essential packages. Understand package management on macOS and Linux, and get ready to start developing a Rails API smoothly.
The required tools
The basic environment tools that we need are:
- Text editors and Terminal
- Browsers
- Package manager
- Ruby
Tools Preferences and Installation
Text Editors and Terminals
Any of the following editors will do the job for us:
- Vim
- Sublime Text
- Atom
Browsers
When it comes to browsers, Firefox, Chrome, or even Safari all work well. Any of these will help us build the application we want. They come with a nice inspector not just for the DOM but also for network analysis and many other features.
Package Manager
macOS
There are many options to manage how you install packages on a Mac such as MacPorts ...