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
puts"Hooray! This Ruby can connect to #{host}. You are all set to use Bundler and RubyGems. 👌"
176
+
puts"Hooray! This Ruby can connect to #{host}.",
177
+
"You are all set to use Bundler and RubyGems. 👌",""
149
178
elsifrubygems_status !~ /success/
150
-
puts"It looks like Ruby and Bundler can connect to #{host}, but RubyGems itself cannot. You can likely solve this by manually downloading and installing a RubyGems update. Visit #{guide_url} for instructions on how to manually upgrade RubyGems. 💎"
179
+
puts"It looks like Ruby and Bundler can connect to #{host}, but RubyGems itself",
180
+
"cannot. You can likely solve this by manually downloading and installing a",
181
+
"RubyGems update. Visit #{guide_url} for instructions on how to manually upgrade RubyGems. 💎"
151
182
elsifbundler_status !~ /success/
152
-
puts"Although your Ruby installation and RubyGems can both connect to #{host}, Bundler is having trouble. The most likely way to fix this is to upgrade Bundler by running `gem install bundler`. Run this script again after doing that to make sure everything is all set. If you're still having trouble, check out the troubleshooting guide at #{guide_url} 📦"
183
+
puts"Although your Ruby installation and RubyGems can both connect to #{host},",
184
+
"Bundler is having trouble. The most likely way to fix this is to upgrade",
185
+
"Bundler by running `gem install bundler`. Run this script again after doing",
186
+
"that to make sure everything is all set. If you're still having trouble,",
187
+
"check out the troubleshooting guide at #{guide_url} 📦"
153
188
else
154
-
puts"For some reason, your Ruby installation can connect to #{host}, but neither RubyGems nor Bundler can. The most likely fix is to manually upgrade RubyGems by following the instructions at #{guide_url}. After you've done that, run `gem install bundler` to upgrade Bundler, and then run this script again to make sure everything worked. ❣️"
189
+
puts"For some reason, your Ruby installation can connect to #{host}, but neither",
190
+
"RubyGems nor Bundler can. The most likely fix is to manually upgrade RubyGems by",
191
+
"following the instructions at #{guide_url}. After you've done that, run `gem install",
192
+
"bundler` to upgrade Bundler, and then run this script again to make sure everything worked. ❣️"
155
193
end
156
194
157
195
deftls12_supported?
@@ -167,10 +205,9 @@ def tls12_supported?
167
205
168
206
# We were able to connect, but perhaps this Ruby will have trouble when we require TLSv1.2
169
207
unlesstls12_supported?
170
-
puts
171
-
puts"WARNING: Although your Ruby can connect to #{host} today, your OpenSSL is very old! 👴"
172
-
puts"WARNING: You will need to upgrade OpenSSL before January 2018 in order to keep using #{host}."
173
-
abort
208
+
puts"\nWARNING: Although your Ruby can connect to #{host} today, your OpenSSL is very old! 👴",
209
+
"WARNING: You will need to upgrade OpenSSL to use #{host}."
0 commit comments