Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.23 KB

File metadata and controls

41 lines (32 loc) · 2.23 KB

Learn Ruby

A language "optimized for developer happiness"

Key points

  • Object oriented
  • Libraries are called Gems
  • Leading utility for organizing Gems is called Bundler
  • Leading test framework is called Rspec
  • Leading web development framework is called Rails

Environment

Mac

  1. Install Homebrew here
  2. Install rbenv with brew install rbenv. See here for more details.
  3. Install the version of Ruby that you need with with rbenv with rbenv install <version>. See here for more details.

PC

  1. Install Ruby using Windows Ruby Install
  2. Install Ruby Development Kit
  3. gem install bundler
  4. gem install rails

RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries... Source

Background Information

Basic Ruby Tutorials

Go as deep into these tutorials as you find helpful

  1. The Languages official docs offer a general intro, and a quick tutorial that you can do in your browser
  2. A deeper dive into Learning about Classes, variables, etc.
  3. If you want more repition in your practice, Learn Ruby the Hard Way offers good practice
  4. Ruby Monk has longer, and more challenging tutorials and games

Ruby Exercises

  1. Exercism.io exercises
  • If you are working in pairs, Work together to get a module working on both of your computers.
  • Start with Hello World, make your way down the list of exercises (Hamming, Gigasecond, Rna Transcription, etc.) They get harder as you go down the list. Jump around as much as you want.