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

Using a virtual machine

So far, we have seen how to install Ruby on our own local machine, that is, the machine we use daily for work. This is the best way to install Ruby when starting out, but once you start working on more complex applications and with other developers, you will want to have consistency in the behavior of everyone’s local environments.

Why, you may ask? The simple answer is that we want to avoid the dreaded phrase that all developers have either heard or even used at some point in our careers: “It works on my machine.” What is important to remember is that every local environment is different, from the processor to the OS version and Ruby version, and this can get in the way of more important work.

As an example that I personally experienced, we once wasted almost a week when we deployed a PHP application to a Linux server that was developed on Windows local machines. The problem was that one of the developers forgot that Windows (at the...

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