From e14a2aeaacbd8ca58d79b2a25fbd7be211d5126e Mon Sep 17 00:00:00 2001 From: Richard Baptist Date: Sat, 8 Oct 2016 14:02:48 +0200 Subject: [PATCH 1/3] Update recommended rubygems-update version from 2.2.3 to 2.6.7 For Rails 5 a newer rubygems-update version is required to solve the SSL error. This update specifically mentions version 2.6.7 and also adds the link to get the latest available version in case of future incompatibilities. --- _posts/2013-05-02-install.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/_posts/2013-05-02-install.markdown b/_posts/2013-05-02-install.markdown index 2fd58e36..f8fe2509 100644 --- a/_posts/2013-05-02-install.markdown +++ b/_posts/2013-05-02-install.markdown @@ -171,10 +171,10 @@ gem -v If it is lower than `2.2.3` you will need to manually update it: -First download the [ruby-gems-update gem](https://github.com/rubygems/rubygems/releases/download/v2.2.3/rubygems-update-2.2.3.gem). Move the file to `c:\\rubygems-update-2.2.3.gem` then run: +First download the [ruby-gems-update gem](https://rubygems.org/gems/rubygems-update-2.6.7.gem). Move the file to `c:\\rubygems-update-2.6.7.gem` then run: {% highlight sh %} -gem install --local c:\\rubygems-update-2.2.3.gem +gem install --local c:\\rubygems-update-2.6.7.gem update_rubygems --no-document gem uninstall rubygems-update -x {% endhighlight %} @@ -185,8 +185,9 @@ Check your version of rubygems gem -v {% endhighlight %} -Make sure it is equal or higher than `2.2.3`. Re-run the command that was failing previously. +Make sure it is equal or higher than `2.6.7`. Re-run the command that was failing previously. +If you are still running into problems you can always find the latest version of rubygems online at [rubygems.org](https://rubygems.org/pages/download). If you click on **GEM** you will get the latest version. ### 'x64_mingw' is not a valid platform` Error From 1c16c1308752ea974230fa7eb10655ffeed4351d Mon Sep 17 00:00:00 2001 From: Richard Baptist Date: Sat, 8 Oct 2016 14:07:49 +0200 Subject: [PATCH 2/3] Add guidance to solve FetchError during bundle install Another SSL related error occurs during the bundle install phase when generating a new app. The linked gist provides guidance towards solving that problem. --- _posts/2013-05-02-install.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_posts/2013-05-02-install.markdown b/_posts/2013-05-02-install.markdown index f8fe2509..07c112ee 100644 --- a/_posts/2013-05-02-install.markdown +++ b/_posts/2013-05-02-install.markdown @@ -189,6 +189,12 @@ Make sure it is equal or higher than `2.6.7`. Re-run the command that was failin If you are still running into problems you can always find the latest version of rubygems online at [rubygems.org](https://rubygems.org/pages/download). If you click on **GEM** you will get the latest version. +### During bundle install + +The `Gem::RemoteFetcher::FetchError: SSL_connect` can also occur during the `bundle install` stage when creating a new rails app. + +The error will make mention of [bit.ly/ruby-ssl](http://bit.ly/ruby-ssl). What is relevant for Windows users at this point is [this GitHub gist](https://gist.github.com/867550). The described manual way has proven to be succesful to solve the `bundle install` eror. + ### 'x64_mingw' is not a valid platform` Error Sometimes you get the following error when running `rails server`: From 1165d577d15bc34460a249dcdd7dbb2c34a44c79 Mon Sep 17 00:00:00 2001 From: Richard Baptist Date: Sat, 8 Oct 2016 23:13:58 +0200 Subject: [PATCH 3/3] Fix typo: eror > error --- _posts/2013-05-02-install.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2013-05-02-install.markdown b/_posts/2013-05-02-install.markdown index 07c112ee..798d7088 100644 --- a/_posts/2013-05-02-install.markdown +++ b/_posts/2013-05-02-install.markdown @@ -193,7 +193,7 @@ If you are still running into problems you can always find the latest version of The `Gem::RemoteFetcher::FetchError: SSL_connect` can also occur during the `bundle install` stage when creating a new rails app. -The error will make mention of [bit.ly/ruby-ssl](http://bit.ly/ruby-ssl). What is relevant for Windows users at this point is [this GitHub gist](https://gist.github.com/867550). The described manual way has proven to be succesful to solve the `bundle install` eror. +The error will make mention of [bit.ly/ruby-ssl](http://bit.ly/ruby-ssl). What is relevant for Windows users at this point is [this GitHub gist](https://gist.github.com/867550). The described manual way has proven to be succesful to solve the `bundle install` error. ### 'x64_mingw' is not a valid platform` Error