Introduction to Ruby for absolute beginners: Part one

My first encounter with Ruby was in 2011, I bought a book then a beginners guide to Ruby after my International Diploma in Computing from Informatics. Have heard about Ruby on Rails and how amazing it was for building website. And I was a big fan of 37 Signals, but I couldn't make through to my motivation to learn Ruby. Partly because so many companies in Nigeria wasn’t using it, the most popular in Nigeria then is PHP and .NET and I wasn’t really a fan of both. But to the long story short have spent the most part of the last four weeks writing Ruby.

Ruby is…

A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
- According to the official website

Ruby creator Yukihiro “Matz” Matsumoto

A case for Ruby

one of the dilemmas for newcomers in tech is what programming to choose from and where to start from. With a lot of new languages and framework calling your attention ot can be really hard to start. From my experience jumping from one language to another and really finding a place on time. I will advise you to learn Ruby.

  1. Learning Curve
    It is really easy to learn and get productive with quickly. The Syntax is beautiful and more like the English language. There are different ways of accomplishing a task so you can always adapt the language to your own style and flair.
  2. Maturity
    The Ruby language is mature and stable with lot of Gems to achieve complex tasks. You are literally sitting on the shoulder of giants.
  3. Ecosystem
    The Ruby ecosystem is really huge with lot of experienced developers that can help you grow quickly. Ruby on Rails is one of the most popular web framework built in Ruby use by top organizations like Basecamp, Github, Stripe, Shopify and more.
  4. Jobs
    There are still lot of Ruby jobs out there in contrary to popular opinion that Ruby is dead.

This is just a quick Ruby job search in the UK. Ruby can also serve as a gateway to learn other language and technologies. Because of the low barrier and easy to learn nature you can use your knowledge of Ruby to learn new language. Because they are all the same concept with only different syntax and some different approaches to doing things.

Getting Started

Getting started with Ruby is as simple as setting up your computer much easier you even start now using Repl which I will advise you use for this tutorial. To speed up development follow this link you can also create an account to save all your work

If you are feeling more adventurous and you want to have Ruby on your laptop, if you are using Mac, you already have Ruby preinstalled. Check out my previous post to set up IDE and other plugins to code locally.

Code like a Pro: Tooling to Supercharge VS Code for Ruby

For window, users follow this tutorial to get started.

How To Install Ruby and Set Up a Local Programming Environment on Windows 10

Thanks to following to the end. In part two I will assume you have all your environment ready to coding in Ruby. This tutorial will not be complete without writing a “Hello, World” programme in Ruby. as your guess will have it is as simple as typing puts "Hello, World" in Repl and run using the green run button. Yeah




I change the world by helping people to get started in Tech and Social Entrepreneurship.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why you should consider .NET Core for your next project

LC 169 [Easy]: Majority Element

How I made a puppy training app in an afternoon

Three screenshots from a mobile. First shows a table of data about dog training and two buttons at the bottom for Skills and Training. The second shows a training log form with fields for skills, time, date and rating. Third shows a loading screen with a photo of a cute, scruffy black puppy.

Reading variables from .env file on Python

Android Unity Game Development Blog: Drawing Polygons!

Stabila — The Most Secure Web Content Management System

Automation strategy — A deeper look to mitigate risk and reduce failures

From device wiring to Google Data Studio: a journey with MicroPython and Google serverless[Part 2]

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Peter Ayeni

Peter Ayeni

I change the world by helping people to get started in Tech and Social Entrepreneurship.

More from Medium

Creating an API database with Ruby-On-Rails and SQLite

How to Deploy a Rails 7 App with Postgres to Heroku

5 Useful Git Commands for Devs

Creating a React app with Rails API backend