Skip to content

Commit b89e009

Browse files
committed
Merge pull request railsbridge#444 from mikedao/update-git
Adding instructions on how to update Git to 1.9.5 for Windows, closing a security hole.
2 parents 3efa32b + 199ac94 commit b89e009

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed
184 KB
Loading
99.3 KB
Loading

sites/en/installfest/windows.step

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,28 @@ step "Configure your git and ssh environment" do
4141
message "Here is a summary of your settings after this process:"
4242

4343
img src: 'img/railsbridge_windowsScreenshot-commandprompt_ror.png'
44+
45+
message "Close the command prompt window."
46+
end
47+
48+
step "Update Git" do
49+
50+
message "The version of Git that comes with RailsInstaller is old, so we will be updating that next."
51+
52+
message "Go to <http://git-scm.com> and download the installer. You want version 1.9.5 or newer."
53+
54+
message "Run the installer, and it will ask you where you want to install it. Change it FROM C:\\Program Files\\Git TO, C:\\RailsInstaller\\Git like the picture below."
55+
56+
img src: 'img/directory.png'
57+
58+
message "It will warn you that the directory already exists. Click yes to install to that folder anyway."
59+
60+
message "Click next twice, and select, Use Git from the Windows Command Prompt."
61+
62+
img src: 'img/command.png'
63+
64+
message "Keep going and you'll have the latest version of Git installed!"
65+
4466
end
4567

4668
step "Open a Terminal" do
@@ -85,7 +107,7 @@ step "Update RubyGems" do
85107
step "Download the update" do
86108
message "Visit https://github.com/rubygems/rubygems/releases/tag/v2.2.3"
87109

88-
message "**Right click -> Save as...** the file **rubygems-update-2.2.3.gem** to your **C:\\Sites** directory"
110+
message "**Right click -> Save target as...** the file **rubygems-update-2.2.3.gem** to your **C:\\Sites** directory"
89111
end
90112

91113
step "Install the update" do
@@ -133,6 +155,8 @@ step "Sanity Check" do
133155
console "rails -v"
134156
fuzzy_result "Rails 4.2{FUZZY}.x{/FUZZY}"
135157

158+
console "git --version"
159+
fuzzy_result "git version 1.9.5{FUZZY}.msysgit.0{/FUZZY}"
136160
end
137161

138162
step "Configure the Windows Terminal" do

0 commit comments

Comments
 (0)