Create Ruby on Rails Installation Guide authored by Patrick Seib (pks673)'s avatar Patrick Seib (pks673)
Welcome! This tutorial will take you through the steps of getting Ruby on Rails ready to start working on your machine.
**Step One: Installing Ruby**
For Windows Machines, go to https://rubyinstaller.org/ and download the latest installer. Run the installer and it'll open a command prompt that will ask you what to download. If you've never had Ruby on your machine, just hit Enter through it.
For macOS, many ship with Ruby already installed and Ruby can be updated by calling it in the command line.
**Step Two: Installing SQLite**
For Windows, go to https://www.sqlite.org/download.html and download the 32-bit DLL as well as bundle of command-line tools for managing the SQLite database files.
Once those are downloaded and extracted, create a folder on your computer and deposit the contents into the folder. Then, copy the folder path.
In Window's search, search for "Edit the System Variables"
This will open a "System Properties" UI, and in the "Advanced" folder there will be a button named "Environment Variables..." which you will open.
Ignore the top window with User variables and go to your System variables. Scroll through your System variables until you find one called "Path" or "PATH". Click on it, and then click "Edit..." below the search. This will open a new window with a series of folder locations. Click "New" and then paste the location you copied earlier that contains the SQLite properties.
For macOS I do not know I've never owned a Mac. If anyone installs SQLite on Mac maybe they can edit this with instructions?
**Step Three: Verifying**
Now we'll verify both the Ruby install as well as the SQLite Path correctness.
Open a command prompt and type
ruby --version
Which should return "ruby 3.1.2" and some other indicators. Now, try
sqlite3 --version
Which should return "3.3.9...." the date, and other characters
** Step 4: Installing Rails**
In your command prompt, type