Assertfail

ruby on windows

16 Oct 2015

I’ve had some trouble installing gems on windows instances using bundle install. I had this problem first at ~2009. The problem is missing certificates.

While this fix is correct, a quick and dirty approach is to make sure that your gem files have source http instead of https:

# A sample Gemfile
source "http://rubygems.org"

gem 'albacore'
gem 'nuget_helper'

This means that the communication to download gems from rubygems is not private.

Tags


Comments

Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.

Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.