Locked lesson.
About this lesson
Download and install Ruby on Rails using the Rails Installer.
Quick reference
Rails Installation
In this video we'll download and install Ruby on Rails using the Rails Installer.
When to Use
You only need to download and install Rails once.
Instructions
Download the Rails Installer from http://railsinstaller.org/en
Login to download
- 00:05 We've downloaded and
- 00:06 installed all the tools that we need in order to install Rails.
- 00:09 Now the only thing left to do is install Rails, so head back over to Google and
- 00:13 type in Rails installer.
- 00:16 And the first thing that pops up is this Railsinstaller.org.
- 00:20 Go ahead and click that.
- 00:21 And this is not the official Ruby on Rails Web site.
- 00:23 You can go to the official Ruby on Rails website and download Ruby on Rails there,
- 00:27 but I don't recommend that you do it.
- 00:29 It's very hard to install actual Ruby on Rails on a computer,
- 00:33 you have to download and install all kinds of other things.
- 00:36 And we've already installed quite a few things.
- 00:39 You don't want to be installing even more stuff on top of that.
- 00:41 And it's just really complicated.
- 00:43 This RailsInstaller has been around forever, and
- 00:47 it's a little package you can download, just one click install.
- 00:51 And it will do all the things that you need for you.
- 00:54 So if we scroll down here there's Windows and a Mac version, whichever you're on.
- 00:58 Now I'm on a Windows so we want this one.
- 01:01 And there's two different versions, this one has Ruby 2.2, and
- 01:06 this one has Ruby 2.3.
- 01:07 Inside of here you could see there's some subtle differences,
- 01:11 it will install Rails 5.0, this one will install Rails 5.1.
- 01:16 I think the current version of Ruby on Rails is 5.2 something.
- 01:19 So it really doesn't matter which version you have as long as it's 5 something,
- 01:24 it really doesn't matter.
- 01:25 It will also install Bundler and Git.
- 01:28 We've already installed Git Bash.
- 01:29 It has a version of Git installed with it so we don't really care about that.
- 01:33 SQLite is a database that comes with Rails.
- 01:36 And then DevKit down here is something that comes with Ruby, so
- 01:39 there's all kinds of stuff that need to be installed.
- 01:42 Like I said, this RailsInstaller will do all that stuff for you, and
- 01:45 that's really cool.
- 01:46 I'm going to go ahead and click this one, just the latest version, and
- 01:50 we can download this anywhere.
- 01:51 I'm just going to download it to our desktop again.
- 01:54 Now this is quite a bit bigger of a file.
- 01:58 It's 112 megabytes so if it takes a couple of minutes to download, no big deal.
- 02:03 Now this is a package, and once it installs it will actually install, I don't
- 02:07 know, 5 or 600 megabytes worth of stuff on your computer, so that's kind of cool.
- 02:12 I'm going to go ahead and pause this video as it downloads and
- 02:14 we'll pick it up as soon as it finishes.
- 02:16 Okay, so I've finished downloading.
- 02:18 Now we just go ahead and click it to install.
- 02:22 And click Run, and we get the basic license, go ahead and accept that.
- 02:27 And this can install anywhere but
- 02:29 the default is the C:\RailsInstaller directory so just go ahead and leave that.
- 02:33 Now, I would recommend that you uninstall or uncheck this Install Git,
- 02:37 because like I said we've already got Git on our computer because we downloaded
- 02:40 the Get bash terminal.
- 02:42 It comes with Git so we don't have to install that again.
- 02:45 We want to definitely make sure that this box is checked.
- 02:48 Remember we talked about path earlier?
- 02:49 This will allow the Ruby programming language to run from anywhere on your
- 02:54 computer, not just the Ruby Directory, right?
- 02:57 So again, like I said, 522 megabytes lot of stuff here, something like,
- 03:02 I don't know, 20,000 files or something, it's huge.
- 03:05 So go ahead and click Install, and this is going to do its thing,
- 03:08 I'm going to go ahead and pause the video again it works and
- 03:11 we'll pick it back up as soon as it finishes.
- 03:14 Okay, so we get this Finish installation screen,
- 03:17 which means everything looks to have installed correctly.
- 03:21 So we can go ahead and click Finish, and that's pretty much it.
- 03:24 Now we still need to make sure that there were no errors and
- 03:27 to create our first project to see that everything installed correctly.
- 03:32 And we go ahead and do that in the next video.
Lesson notes are only available for subscribers.