I'm very new to ruby and to bundler, and I'm running into weirdness using bundle install to set up my environment. Note that I'm working within the msysgit command prompt so that it can use the msysgit build environment, and from that prompt I see that both the
gem command and the
bundle command I'm using live in my Ruby 1.9.3 bin directory.
I cd to the directory that contains my Gemfile, and I try to run bundle install. I see the following:
---
$ bundle install
Resolving dependencies.....
An error occurred while installing i18n (0.7.0), and Bundler cannot continue.
Make sure that `gem install i18n -v '0.7.0'` succeeds before bundling.
$
---
So, ok, then I do as suggested in the last line of the error message -- immediately, without doing anything else on that machine -- and it works, no problem:
---
$ gem install i18n -v '0.7.0'
Fetching: i18n-0.7.0.gem (100%)
Successfully installed i18n-0.7.0
1 gem installed
Installing ri documentation for i18n-0.7.0...
Installing RDoc documentation for i18n-0.7.0...
$
---
So then I run the bundler again, it tells me it's using i18n 0.7.0, then gives me the same error report with respect to the next gem I need. And then I run gem install again, and the gem is installed without problems. Rinse and repeat.
My searches for this "certificate verify failed" issue all seem to suggest fixes in a context where it would crop up while doing gem install. Any suggestions as to why I'd see this every time when running bundle install and yet never see it when running gem install? More importantly, any suggestions as to what I should do about it?
Ed Blachman