O'Reilly logo

Rails, Angular, Postgres, and Bootstrap, 2nd Edition by David B. Copeland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Ruby, Rails, and Postgres

Most of what we’ll do in building our example Rails application, Shine, are commands you can execute or code you’ll enter, but getting Ruby, Rails, and Postgres installed on your system is much more system-specific. Fortunately, the authors of these technologies have made the installation process as pain-free as possible. First, start with Ruby and Rails.

Ruby and Rails

If you don’t have Ruby installed, follow the instructions on Ruby’s website.[6] I recommend using an installer or manager, but as long as you have Ruby 2.3.1 or later installed and the ability to install gems you’ll be good to go.

With Ruby installed, you’ll need to install Rails. This is usually as simple as

 $ ​​gem​​ ​​install​​

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required