Reader small image

You're reading from  From PHP to Ruby on Rails

Product typeBook
Published inDec 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781804610091
Edition1st Edition
Languages
Right arrow
Author (1)
Bernard Pineda
Bernard Pineda
author image
Bernard Pineda

Bernard Pineda is a seasoned developer with 20 years of web development experience. Proficient in PHP, Ruby, Python, and other backend technologies, he has taught PHP and PHP-based frameworks through video courses on platforms like LinkedIn Learning. His extensive work with Ruby and Ruby on Rails, along with curiosity in frontend development and game development, bring a diverse perspective to this book. Currently working as a Site Reliability Engineer in Silicon Valley, Bernard is always seeking new adventures.
Read more about Bernard Pineda

Right arrow

Installing Ruby locally

We are ready to set up our Ruby environment. Probably the most convenient way to install Ruby on our machines is with a package manager or an installer, depending on your operating system.

macOS users

For macOS users, the brew package manager is the way to go.

To install brew, using the Finder window, navigate to the Applications folder, then to the Utilities folder, and then scroll until you find Terminal:

Figure 2.1: The Application Utilities

Figure 2.1: The Application Utilities

Double click on the Terminal icon and you should see a Terminal with a shell prompt waiting for commands:

Figure 2.2: The Terminal

Figure 2.2: The Terminal

Then copy the command from the brew homepage (https://brew.sh/) that you can see here:

Figure 2.3: Homebrew installing instructions

Figure 2.3: Homebrew installing instructions

Now paste the command into the Terminal to install brew.

Once brew is installed, installing Ruby (or its variations) is easy. If brew was already installed, you...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
From PHP to Ruby on Rails
Published in: Dec 2023Publisher: PacktISBN-13: 9781804610091

Author (1)

author image
Bernard Pineda

Bernard Pineda is a seasoned developer with 20 years of web development experience. Proficient in PHP, Ruby, Python, and other backend technologies, he has taught PHP and PHP-based frameworks through video courses on platforms like LinkedIn Learning. His extensive work with Ruby and Ruby on Rails, along with curiosity in frontend development and game development, bring a diverse perspective to this book. Currently working as a Site Reliability Engineer in Silicon Valley, Bernard is always seeking new adventures.
Read more about Bernard Pineda