Table of Contents

rbenv

rbenv is a Ruby version/environment management tool.

Install Ruby on Rails in a Ruby environment

Prerequisites

sudo pkg inst gcc node ruby sqlite3

Setup rbenv and ruby-build

Install a Ruby version

Example

rbenv install 2.4.4

You may set this version as the default global version

rbenv global 2.4.4

Ruby on Rails

Ruby on Rails (RoR) is a solid framework written in Ruby to build great web application or site.

Installation

gem install rails

Create a new project

rails new project