You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,25 +35,27 @@ If the test suite passes, you'll be ready to run the app in a local server:
35
35
$ rails server
36
36
```
37
37
38
-
To check out the code for a particular chapter, first find the branch nae using
38
+
To check out the code for a particular chapter, first find the branch name using
39
39
40
40
```
41
41
$ git branch -a
42
42
```
43
43
44
44
A branch called `remotes/orgin/foo-bar` can be checked out using `git checkout foo-bar`.
45
45
46
-
Next, copy the contents of the `Gemfile` and use
46
+
Next, copy the contents of the `Gemfile`using a text editor and then use
47
47
48
48
```
49
49
$ git checkout chapter-branch-name
50
50
```
51
51
52
-
to check out the chapter branch. Finally, copy the `Gemfile` and run
52
+
to check out the chapter branch. Finally, copy the contents into the `Gemfile` and run
53
53
54
54
```
55
55
$ bundle update
56
56
```
57
57
58
+
At this point, the branch should be working. (You have to copy the `Gemfile` contents because it's incredibly hard to keep all branches up-to-date, so only the main one is guaranteed to be current.)
59
+
58
60
For more information, see the
59
61
[*Ruby on Rails Tutorial* book](http://www.railstutorial.org/book).
0 commit comments