Installing Rails from Scratch: From Zero to Hello World in 3 Minutes
I’m installing Rails from scratch on Windows. Here’s how I went from zero to “hello, world!” in less than 3 minutes.
1. Run the RailsInstaller to Install the Foundation
The nice folks at http://railsinstaller.org[RailsTutorial.org] have a wonderful Windows binary that will get you setup and running with literally everything you need to get up and running very quickly.
Run the installer, then open up your favorite terminal emulator. In my case, I’m using VS Code’s terminal emulator, which you can access by hitting ctrl+\`.
Once the installer is finished, check that everything installed correctly.
Verify ruby installed by typing ruby -v:
Next, verify sqlite3 installed by typing sqlite3 --version:
Great! Now let’s install Rails itself:
Neat! Let’s verify that Rails was installed correctly by checking the version:
And we’re in business.
Congratulations! You have installed everything you need to get up and running with Ruby on Rails.