Installing Ruby
4.1 (104 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
4,841 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Installing Ruby to your Wishlist.

Add to Wishlist

Installing Ruby

Learn how to set up easily your Mac, Linux or Windows development environment for Ruby.
4.1 (104 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
4,841 students enrolled
Created by David Morales
Last updated 4/2016
English
Price: Free
Includes:
  • 22 mins on-demand video
  • 3 Articles
  • 3 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Learn to install the necessary tools to list, install and maintain several Ruby versions.
  • Know typical issues when setting up your system, and how to solve them.
  • Discover the most popular Ruby code editors for each platform, how to install and configure them.
View Curriculum
Requirements
  • You need to know how to open the terminal in your system.
  • Go into directories and list files.
  • How to install applications.
Description

In this tutorial you will learn how to set up easily your Mac, Linux or Windows development environment for Ruby.

We will start installing the necessary tools to list all the available Ruby versions. Then with these tools we will install the latest version and we will see how to keep it updated.

When you finish the course you will have an environment ready to start programming applications with Ruby and Ruby on Rails.

The course consists of videos where you will learn to set up your environment step by step, from scratch. It also includes a documentation PDF as a reference.

In less than 1 hour you will have clear concepts and practice.

You will learn to:

- Install Ruby

- Create a Ruby on Rails application

- Configure an editor

Who is the target audience?
  • People interested to try a new programming language like Ruby.
  • Beginners working with Ruby on Rails, needing to set up their environment from scratch.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
+
Installing Ruby on OS X
7 Lectures 10:53
Introduction (OS X)
00:42

Documentation (OS X)
00:08

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Installing Homebrew (OS X)
00:25

Install rbenv and ruby-build:

brew install rbenv ruby-build

echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

source ~/.bash_profile

type rbenv

Installing rbenv and ruby-build (OS X)
01:08

List Ruby versions:

rbenv install -l

Install the latest version:

rbenv install 2.2.3

Set it as the global version:

rbenv global 2.2.3

gemrc setting:

echo "gem: --no-document" > ~/.gemrc

Installing Ruby (OS X)
00:39

Install Bundler:

gem install bundler

Rebuild rbenv hash:

rbenv rehash

Install Ruby on Rails:

gem install rails

Create the Ruby on Rails application:

rails new test-project

Start server:

rails s

Ruby on Rails application (OS X)
01:33

Configuring an editor (OS X)
06:18
+
Installing Ruby on Ubuntu
6 Lectures 06:43
Introduction (Ubuntu)
00:35

Documentation (Ubuntu)
00:08

Install git:

sudo apt-get install -y git

Install rbenv and ruby-build:

git clone https://github.com/rbenv/rbenv.git ~/.rbenv

echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc

echo 'eval "$(rbenv init -)"' >> ~/.bashrc

source ~/.bash_profile

type rbenv

Installing rbenv and ruby-build (Ubuntu)
01:23

List Ruby versions:

rbenv install -l

Install essential libraries to compile code:

sudo apt-get install -y curl gnupg build-essential

sudo apt-get install -y libssl-dev libreadline-dev zlib1g-dev

Install the latest version:

rbenv install 2.2.3

Set it as the global version:

rbenv global 2.2.3

gemrc setting:

echo "gem: --no-document" > ~/.gemrc

Installing Ruby (Ubuntu)
01:03

Install the SQLite development libraries:

sudo apt-get install -y libsqlite3-dev

Install Bundler:

gem install bundler

Install Ruby on Rails:

gem install rails

Create the Ruby on Rails application:

rails new test-project

Start server:

rails s

Ruby on Rails application (Ubuntu)
01:12

Configuring an editor (Ubuntu)
02:22
+
Installing Ruby on Windows
5 Lectures 05:07
Introduction (Windows)
00:22

Documentation (Windows)
00:08

Install Ruby:

ruby dk.rb init

ruby dk.rb install

gemrc setting:

(echo gem: --no-document) >> C:\ProgramData\gemrc

Installing Ruby (Windows)
01:10

Install Bundler:

gem install bundler

Install Ruby on Rails:

gem install rails

Create the Ruby on Rails application:

rails new test-project

Start server:

rails s

Ruby on Rails application (Windows)
01:11

Configuring an editor (Windows)
02:16
About the Instructor
David Morales
4.0 Average rating
424 Reviews
11,360 Students
6 Courses
Computer Engineer and IT Teacher

Since the year 2000 I have been teaching to public and private companies from Barcelona, mainly about Unix and Linux systems, and web technologies such as PHP, Javascript and Java.

In 2005 I completed my B.S. in Computer Science at the University of Barcelona.

I have worked for several startups using PHP and the Symfony framework since 2006. In 2011 I switched to Ruby on Rails as my main framework to continue building big complex web sites.