Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Windows

Björn Wauben
Björn Wauben
10,748 Points

Installing Rails on windows bundler issues

I have lots of trouble installing Rails on windows. I've been trough the video over and over and searched other sources for help. Now I have deleted everything and started over from scratch. I can follow the video untill I have to "gem install bundler" in the command prompt.

I get the following error:

"ERROR: could not find a valid gem 'bundler' <>= 0, here is why: Unable to download data from https://rubygems.org/ -SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed https://rubygems.org/latest_specs.4.8.gz"

All the later steps I think are influenced by this so in the end I can't get the rails page up on localhost:3000. Very frustrating and it has me seriously questioning my possible future in programming if I can't even get something like this done.

Hopefully someone can help me in the wright direction

2 Answers

Merritt Lawrenson
Merritt Lawrenson
13,477 Points

Ruby/Rails is known for having a lot of problems with windows, especially when loading gems and libraries. I highly highly recommend skipping forward to the video about how to set up the treehouse vm with vagrant. This is how i personally code on windows - inside a linux command line. The great part of vagrant is it keeps the files you're working on indies the normal windows file tree so you can still use sublime or your choice of text editor to do the coding in windows, but let the vagrant command line virtual machine do the executing in linux.

You could also try an online ide like nitrous.io or cloud9, which brings together the text editor, file structure, and command line in one web interface you can log into from anywhere.

You need to update your RubyGems.