1
00:00:00,540 --> 00:00:02,850
Hello and welcome to this lecture.

2
00:00:03,000 --> 00:00:10,920
This lecture will be tracked clean install in any dependency application requires.

3
00:00:11,130 --> 00:00:13,110
We can do that use in bond.

4
00:00:13,110 --> 00:00:22,010
Our bond law basically is a tool that provides consistent embarrassment for Ruby projects and it does

5
00:00:22,010 --> 00:00:30,760
is by tracking and installing the exact gems and versions that are required for your application.

6
00:00:30,810 --> 00:00:36,490
You can use bond whether you in development stage or production.

7
00:00:36,720 --> 00:00:39,270
So this is how bunde lap physically works.

8
00:00:39,300 --> 00:00:46,490
It goes to your gem files so if you open your project inside your text editor you since are blind to

9
00:00:46,770 --> 00:00:48,550
this is a gem file here.

10
00:00:48,860 --> 00:00:50,040
So inside it too far.

11
00:00:50,040 --> 00:00:54,210
We've got all the change that the application requires.

12
00:00:54,210 --> 00:00:59,920
Anything that is got a hash in front of it like that one means that it is commented out.

13
00:01:00,000 --> 00:01:02,790
It's available but it's not going to be used for anything.

14
00:01:02,790 --> 00:01:06,110
That's comment out is not actually used to use it just can't.

15
00:01:06,120 --> 00:01:13,030
You have to comment it so this is a file that bond LA references just triple check.

16
00:01:13,040 --> 00:01:23,370
For example I would check if my Got a Jim cord rails five point one to is the job of the bond.

17
00:01:23,370 --> 00:01:29,960
Like to make sure that the project has that corrido version of the gem installed.

18
00:01:29,970 --> 00:01:33,140
So that's basically what the bond does.

19
00:01:33,420 --> 00:01:36,680
So let's install the bond or run it.

20
00:01:36,870 --> 00:01:41,150
You have to run it from your projet directory.

21
00:01:41,400 --> 00:01:48,080
You can see I'm in my predict territory to make sure you in your projet decree before you can run a

22
00:01:48,090 --> 00:01:53,590
bond like a command you need is basically type in Bondel on bond now.

23
00:01:53,740 --> 00:02:06,810
The U N T want large space in store and tweet go off to the Internet and search to see if all the gems

24
00:02:06,820 --> 00:02:09,290
in the gem file are up to date.

25
00:02:09,300 --> 00:02:17,470
You can see it on a return floating gem file dependencies 7 to files now installed.

26
00:02:17,610 --> 00:02:24,810
So everything that's in the file is gone round to check and it says are up to date so he's happy with

27
00:02:24,810 --> 00:02:25,490
it.

28
00:02:25,560 --> 00:02:29,230
So that's basically how the bond line is used.

29
00:02:29,250 --> 00:02:36,330
Any time you install a new gym for your projet you have to run the bond Lah again.

30
00:02:36,390 --> 00:02:39,440
Or if you find a new gem that you want to use.

31
00:02:39,690 --> 00:02:45,920
Just added to the gem file and run bunde land store then run upon loans or packages.

32
00:02:46,230 --> 00:02:50,240
Again make sure that your application has it and that's it.

33
00:02:50,250 --> 00:02:51,320
In a nutshell.

34
00:02:51,390 --> 00:02:52,470
Thanks for watching.

35
00:02:52,470 --> 00:02:53,370
Bye for now.
