Up And Running With Ruby On Rails

Quickly deploy a web application to the public using all the tools in the box: rails, bundler, git & heroku.
  • Lectures 19
  • Video 2 Hours
  • Skill level beginner level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

Course Description

We start by deploying a Ruby on Rails application to production. We do that really quickly starting from nothing using all the tools in the box: rails, bundler, git, heroku, and URL forwarding.

Once we have our application in production, we take a deeper look at all the parts that were necessary to make it happen.

If you are just beginning with Ruby on Rails and you want to learn the full development workflow, from zero to production, then you should enjoy this course.

The Philosophy Of The Course

All the lectures are screencasts. This course focuses on the technologies and the practical work that goes into deploying a Rails application to production. The course values exact information and productivity.

We will be using the command line for almost everything. If you are not comfortable using the command line, you might want to read up before you start.

The Computer Setup

I am using Ubuntu to demo everything and I encourage you to use it as well. You can easily run Ubuntu alongside your current OS or from a USB stick. Download Ubuntu 13.10 here.

You could also stick with your current OS: the workflow demonstrated in this course should be very similar on other flavors of Linux or on Mac OS X.

Section 2 will spend a little bit of time talking about Ubuntu and the general computer setup. Feel free to use the course discussions if you have questions or problems.

What are the requirements?

  • Familiarity with the command line
  • Ability to install software (ruby / git / heroku toolbelt)

What am I going to get from this course?

  • Over 19 lectures and 1.5 hours of content!
  • You will be able to create simple web applications with Ruby on Rails
  • You will be able to work with Ruby gems
  • You will be able to work with Rake
  • You will be able to work with the Bundler
  • You will be able to work with Git
  • You will be able to deploy a web application to Heroku
  • You will be able to route your domain name to your web application

What is the target audience?

  • Beginners with Ruby on Rails
  • Web developers who want to deploy into a production environment
  • Web developers who want to be more productive
  • Entrepreneurs or journalists who want to learn to code

What you get with this course?

Not for you? No problem.
30 day money back guarantee

Forever yours.
Lifetime access

Learn on the go.
Desktop, iOS and Android

Get rewarded.
Certificate of completion


Section 1: The Complete Demo

In this lecture, we rush through the deployment of a Ruby on Rails application to Heroku (including a nice-looking public URL). The application we create is a basic bookshelf.

The rest of the course is dedicated to taking this demo apart and understanding each bit in the process.

Here are all the commands involved:

     rails new up-and-running-with-ror     cd up-and-running-with-ror     rails server     rails generate scaffold Book title:string author:string description:text     rake db:migrate     # edit config/routes.rb to make /books the root url     rails server     # edit Gemfile to use the gem pg on heroku     bundle install     git init     git add .     git commit -m "creates basic skeleton"     heroku create up-and-running-with-ror     git push heroku master     heroku run rake db:migrate     # edit the config at DNSimple to point to heroku     heroku domains:add up-and-running-with-ror.com 
Section 2: The Computer Setup

An introduction to the software we will use in the course:

- Ubuntu 13.10

- Ruby 2.0

The rest will be installed through Ruby's package manager Rubygems.


This lecture covers the installation of the Ubuntu operating system. You will want to download the latest version for desktops: 13.10.


This lecture covers the installation of the Ruby programming language. Ruby version 2.0 or better is required.

On Ubuntu, just run:

 sudo apt-get install ruby2.0 ruby2.0-dev 
Section 3: The Ruby Ecosystem

This lecture covers the basic usage of Ruby and the various ways to run Ruby code from the command line:

- irb

- Ruby scripts

- executable Ruby scripts

- ruby -e


This lecture covers the basic usage of Rubygems: the standard package manager for Ruby.

Rubygems was installed as part of Ruby. The executable is called "gem" and should be available on your command line.

As an example, to install a gem like kramdown, just run:

 sudo gem install kramdown 

We take a break from the narrative of the course and we play around with a command-line Ruby game: Ruby Warrior.


This lecture covers the basic usage of Bundler: an easy way to manage the dependencies of any Ruby application.

Bundler expects a file called "Gemfile" in the directory where you run "bundle". The Gemfile contains a "source" line to indicate the source of the gems, and then a list of gems you depend on (one per line).


This lecture covers the basic usage of Rake: a simple task runner.

Task runners like Rake (or Make or Ant) are used to automate the everyday tasks of developers. When using Rails, a lot of tasks are executed through Rake—for example running tests or updating the database schema.


This lecture covers the creation of a basic Rails application.

You can get started by running the following on your command line:

 rails new UpAndRunning 

You will then have a basic Rails application in the UpAndRunning directory.


This lecture covers scaffolding and simple database management.

Scaffolding is a great way to generate boilerplate code.

Database management is done through Rake tasks like "db:migrate".

Ruby And Its Gems
10 questions
Section 4: The Git Ecosystem

This lecture covers Version Control Systems and introduces Git.

To initialize a Git repository, run:

 git init 

You can then add and commit files to it with:

 git add <filename> git commit <filename> -m "commenting your commits is a good habit (also it's required)" 

This lecture covers basic Git usage with a Ruby on Rails application as an example.

Most of the time—as you work on your application—you will be using the following commands:

 git add . git commit -m "more changes" 

Rinse and repeat.

Git Commands
6 questions
Section 5: The Heroku Ecosystem

This lecture covers the installation of the Heroku toolbelt.

On Ubuntu, just run:

 wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh 

You can have a look at the official installation instructions.


This lecture covers the deployment of our application to Heroku.

We register our application with Heroku, we use Postgres in production mode, and we run the database migrations on Heroku.

Finally, our application is made public!

Here are the commands involved:

 heroku create git push heroku master heroku run rake db:migrate 
The Heroku Toolbelt
5 questions
Section 6: The Professional URL

This lecture covers the basic concepts behind DNS.

You can see DNS as a public service that maps domain names to IP addresses. It is used transparently by your browser for every web site you go to.


In this lecture we configure the DNS records to use the Heroku domain name as an alias for ours.

Then we make Heroku aware of the new domain name like this:

 heroku domains:add <domain-name> 

The changes have to propagate throughout the DNS, but after a few minutes (or perhaps an hour), we can reach our application at the new domain.

Section 7: Looking Back

This last video offers a quick look back at what we have accomplished.


This lecture offers a list of resources for further learning.

Instructor Biography

Matthieu Tanguay-Carel , Software Engineer

I am a software engineer and I have been working with the web for about 10 years.

I like to coach other developers in the art of software design, testing and pair programming.

My courses and workshops focus on the practical work behind web development. I will not dwell on theoretical concepts. You will find my courses useful if you are trying to bridge the gap between the stuff you learn in class and the things you have to do at work. Or if you are a journalist or an entrepreneur and you want to learn to code quickly.

Web development has become a lot easier in the last few years. You should give it a shot!

Join the biggest student community


Hours of video content


Course Enrollments




Average Rating
  1. 5 Stars
  2. 4 Stars
  3. 3 Stars
  4. 2 Stars
  5. 1 Stars
    • Narinder Kaur

    he has different way to explain

    Good, it open my mind more closer to use ruby on linux

Ready to start learning?
Preview this course