How to Install Ruby on Rails on Debian 9 Stretch Linux -


Ruby runs best on Unix-like systems, making Linux an excellent choice for developing for Rails. Debian Stretch comes loaded with up-to-date version of Ruby and Rails as well as providing support for the popular RVM Ruby manager.

This is a companion discussion topic for the original entry at



# apt >!!! install install !!!< build-essential curl nodejs
# apt install build-essential curl nodejs


Andre Juntermanns

Thank you for creating this tutorial.

Debian 9 offers an easy way to get a basic installation of ROR for sure!

BUT: bcrypt gem? (The whole RoR,Ruby gems,bundler and mysql installation is breaking the record of error massages by far ) Windows - no!;Ubuntu LTSses - no!; Debian partially - yes


Ayodele Amadi

typo here - apt install install build-essential curl nodejs


Lubos Rendek Mod -> Ayodele Amadi

thanks…Will be corrected shortly…!


Merlin Tail -> Lubos Rendek

still there :frowning:


Hi guys,

Nice tutorial but it’s still a mistake.

localhost:300 --> localhost:3000 (Not important but for newbies they can be lost)