GoSkills
Help Sign up Share
Back to course

Install Ruby

Compact player layout Large player layout

Locked lesson.

Upgrade

  • Lesson resourcesResources
  • Quick referenceReference
  • Transcript
  • Notes

About this lesson

Installing Ruby is easy with RubyInstaller.org

Exercise files

Download this lesson’s exercise file.

Install Ruby.docx
57.1 KB

Quick reference

Install Ruby

Installing Ruby is easy with RubyInstaller.org

When to use

Do this once to install Ruby on your computer.

Instructions

Head over to RubyInstaller.org to download and then install Ruby on your computer.

Note: Mac users already have Ruby installed on their computer.

Hints & tips

  • RubyInstaller.org
Login to download
  • 00:03 We got our text editor.
  • 00:05 We've got our terminal, now all we need is the Ruby programming language itself.
  • 00:09 So let's go head over to Google and type in ruby installer.
  • 00:13 And the first thing that pops up should be this RubyInstaller.org for Windows,
  • 00:16 go ahead and click this.
  • 00:18 Now, if you are on a Mac or on Linux, you don't have to do anything.
  • 00:21 Ruby comes installed on Mac or Linux.
  • 00:23 It may be a different version, but that's perfectly fine.
  • 00:26 So you don't have to do anything, you're ready to go.
  • 00:28 Windows users, we need to come here and
  • 00:30 install the Ruby programming language itself.
  • 00:33 Now the nice thing about this website is this is an actual
  • 00:36 little installer that's already been pre-compiled and everything.
  • 00:40 So we just have to download one file, install it really quickly and
  • 00:43 we're good to go.
  • 00:44 So it's really, really nice.
  • 00:46 And this is really the way everybody installs Ruby for Windows.
  • 00:50 Now, you could go to the Ruby official website and download it itself and
  • 00:53 sort of compile it yourself, but that's way beyond the scope of this course.
  • 00:57 And there's no real reason to do that,
  • 00:59 especially if you're just learning Ruby to begin with.
  • 01:01 So here we're on the Downloads page.
  • 01:03 And take a minute to read this, because these things change from time to time.
  • 01:08 Different versions come out and sometimes there are different requirements.
  • 01:12 So just read this little paragraph here.
  • 01:14 It will tell you which one to install.
  • 01:17 It just takes a second to read that.
  • 01:18 So I recommend that you do that.
  • 01:19 Now, you'll notice right here,
  • 01:21 this is the one that they're recommending at the moment.
  • 01:24 And it's sort of in bold, so we know that's the one.
  • 01:26 So just go ahead and click this.
  • 01:29 And we could save this anywhere, I'm just going to save it to my desktop.
  • 01:34 A little bit bigger file, 121 MB,
  • 01:36 should download fairly quickly with high speed Internet.
  • 01:42 Okay, so once it's finished downloading, go ahead and click it to install.
  • 01:46 We'll go ahead and accept the license, Next.
  • 01:49 Now, we can install this anywhere we want, it doesn't really matter.
  • 01:52 So we're just going to take the default here.
  • 01:54 And make sure this add Ruby executable to your PATH box is checked.
  • 01:59 That just means we can run Ruby from anywhere on our computer,
  • 02:03 instead of just on the Ruby folder, right?
  • 02:06 So we definitely want to be able to run Ruby all over our computer.
  • 02:09 So make sure that this is checked.
  • 02:11 The rest of these associate.rb files,
  • 02:14 all your Ruby files will end in.rb, so that's normal.
  • 02:18 See, it's not very big installation, 58 MB.
  • 02:21 All right, so go ahead and click Install, and then click Next.
  • 02:26 Okay, so I'm going to go ahead and pause the video while this does its thing, and
  • 02:30 we'll resume as soon as it finishes.
  • 02:32 Okay, so we finished the installation.
  • 02:34 Now it's asking us if we want to run our ridk install to set up some other tools
  • 02:38 that we may or may not need now.
  • 02:40 We're not going to use these other tools in this course, but
  • 02:43 we should probably install them anyway just because you would want to.
  • 02:47 So make sure this is checked and click Finish.
  • 02:50 And this box pops up, it asks which of these you want to install.
  • 02:54 It's just going to go through and do each of them separately.
  • 02:57 So let's click 1 and hit Enter.
  • 03:02 All right, so that's been properly installed.
  • 03:04 Now we want to hit 2 and hit Enter.
  • 03:11 Okay, and then finally, let's do the third one, click 3.
  • 03:19 Okay, and so we're done.
  • 03:22 We can go ahead and close this.
  • 03:24 And that's all there is to it.
  • 03:26 Now, if you had already been running to git bash terminal, go ahead and
  • 03:28 close it and restart it.
  • 03:30 Once you install Ruby, you need to restart the git bash terminal.
  • 03:33 And that's pretty much it.
  • 03:34 So in the next video, we'll start writing Ruby code.

Lesson notes are only available for subscribers.

Install Sublime and Git Bash
04m:27s
Hello World and c9 Transition
05m:38s
Share this lesson and earn rewards

Twitter LinkedIn WhatsApp Email

Gift this course
Give feedback

How is your GoSkills experience?

I need help

Your feedback has been sent

Thank you

Back to the top

© 2023 GoSkills Ltd. Skills for career advancement