1 00:00:00,540 --> 00:00:02,880 Hello and welcome to this lecture. 2 00:00:03,060 --> 00:00:13,170 In this lecture I'll be giving you through how to install ruby on rails on a Windows based computer. 3 00:00:13,170 --> 00:00:18,220 We've already got Ruby jemison's toward Real's itself is a gem. 4 00:00:18,240 --> 00:00:23,210 So we are going to the gem which is see Ruby. 5 00:00:23,220 --> 00:00:28,300 Package manager to in-store Ruby on Rails. 6 00:00:29,070 --> 00:00:32,980 We are going to be doing the installation on the command line. 7 00:00:33,270 --> 00:00:41,310 So if you are on the Mac you can use a terminal if you are on Linux you can use the shell on the windows 8 00:00:41,310 --> 00:00:49,200 you can use a command prompt or you can use the bash tool which you can use with any operating system. 9 00:00:49,500 --> 00:00:53,670 I am using the good patch get back to is this interface. 10 00:00:53,670 --> 00:00:56,770 Here is basically a command line utilities. 11 00:00:57,390 --> 00:01:05,280 So to begin with typing gem space and store 12 00:01:09,780 --> 00:01:18,200 space real So that's basically how you install any time you start with a word jam. 13 00:01:18,480 --> 00:01:23,640 Then the word install fuller by the name of the gem. 14 00:01:24,090 --> 00:01:31,560 If you want to install a specific version then you have to specify the version as well. 15 00:01:31,560 --> 00:01:35,430 If not it installs the most on dated version. 16 00:01:35,430 --> 00:01:41,980 It also pulls down information a lot of documentation relating to rails. 17 00:01:42,090 --> 00:01:48,450 So if you don't want Does documentation the documentation will make the installation longer. 18 00:01:48,510 --> 00:01:54,120 And also most people tend not to read it look mentation on their computers so it may just be there sit 19 00:01:54,120 --> 00:01:56,000 in their quogue in this space. 20 00:01:56,160 --> 00:02:02,880 So I'm going to add some options to exclude the installation of mentation and where you do that you 21 00:02:02,880 --> 00:02:06,890 do a space to dash. 22 00:02:06,900 --> 00:02:13,820 That's no dasch are dark. 23 00:02:15,330 --> 00:02:19,200 Okay and then the space dash. 24 00:02:19,200 --> 00:02:21,760 That's No. 25 00:02:23,270 --> 00:02:24,490 That's. 26 00:02:24,930 --> 00:02:26,070 Are I. 27 00:02:26,310 --> 00:02:34,520 So these are all documentation relating to real So if you don't want them just use this option and it 28 00:02:34,520 --> 00:02:36,950 will just install Real's in making installation. 29 00:02:36,950 --> 00:02:38,720 Also a lot faster. 30 00:02:39,050 --> 00:02:39,750 Well done. 31 00:02:39,800 --> 00:02:45,430 Just press enter and wait for the installation to begin. 32 00:02:46,820 --> 00:02:53,500 As you can see he says successfully installed rails five point one to one gem installed. 33 00:02:53,750 --> 00:03:00,170 So we have got real successfully in store because we have excluded little commentation de-escalation 34 00:03:00,280 --> 00:03:05,150 stick in less time to install. 35 00:03:05,690 --> 00:03:08,380 So now we've got Ruby on Rails in this store. 36 00:03:08,390 --> 00:03:11,370 We could check the version by typing in Ruby. 37 00:03:11,490 --> 00:03:17,350 It tells us there's five point one to typee ruby space. 38 00:03:20,100 --> 00:03:21,040 Dash dash. 39 00:03:21,090 --> 00:03:22,080 Sorry not Ruby 40 00:03:25,510 --> 00:03:27,070 Rails. 41 00:03:28,370 --> 00:03:36,240 Rails space dash V and that should tell us the current version of rules they go tells us we have a five 42 00:03:36,240 --> 00:03:36,900 point one. 43 00:03:36,900 --> 00:03:44,970 To which we already already displayed here when we did the installation. 44 00:03:45,050 --> 00:03:48,600 First check the list of gems we now have. 45 00:03:48,630 --> 00:03:58,110 Now that we have installed Ruby on Rails So within a time jam space list that will list all the gems 46 00:03:58,140 --> 00:04:03,740 we have currently on the computer and that should include the rails. 47 00:04:03,730 --> 00:04:05,140 You can see Will rails. 48 00:04:05,160 --> 00:04:06,810 Now 5 per 1 2. 49 00:04:07,030 --> 00:04:10,460 So that is now listed as part of our journey. 50 00:04:10,740 --> 00:04:16,920 So we now have Ruby on Rails in stores so that's it for this picture. 51 00:04:16,950 --> 00:04:19,880 On installing Ruby Rails. 52 00:04:20,040 --> 00:04:21,480 Thanks for watching. 53 00:04:21,480 --> 00:04:22,360 Bye for now.