Flash Sale! Up to 40% off on unlimited courses, tutorials and creative asset downloads Up to 40% off on unlimited assets SAVE NOW
  • Overview
  • Transcript

2.3 Installing Rbenv

With Vagrant properly installed and a Linux server properly running, we can start preparing it with a Ruby version.

The convention for Ruby installations in production is to use rbenv over RVM. Even though RVM is great for development, its philosophy can compromise the server’s reliability, meaning its ways of rewriting basic Unix commands such as `cd` can get in the way of other services in your Linux server. rbenv takes a lighter, more modular approach by using shims. They are alternate implementations of some Ruby-specific commands in *NIX-based commands that fallback to the regular implementations and thus are not so intrusive. Don’t worry, it still works.

In this lesson you’ll learn how to install rbenv and a Ruby version for use in your project. Also, you’ll be introduced to the sample application we’ll deploy and you’ll be able to run a remote Ruby server that can be accessed from the outside.