Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

I have an error installing Ruby through my cmd prompt

through windows 8.1...when i go through the instructions from the video i get an error message when i type in.. "gmd install bundler"

i get:

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

ive followed other links from the forum but nothing seems to be working. any idea?

i click this link because there is an SSL certificate that could fix the issue but when i click the download, the file is in text format https://gist.github.com/luislavena/f064211759ee0f806c88#manual-solution-to-ssl-issue

4 Answers

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Danny,

You've found the right source to fix this issue. To save the file directly as a .pem, right click on the link and select "Save link as...". This will download the file to your machine as "AddTrustExternalCARoot-2048.pem".

I hope this helps.

when i go through it and i have to add in the backslash instead of the forward slash, it says its not operable or it cannot find

says its not recognized.

Justin Horner
Justin Horner
Treehouse Guest Teacher

What step are you on when you get this message about not being recognized?

Open a Command Prompt and type in:

C:>gem which rubygems C:/Ruby21/lib/ruby/2.1.0/rubygems.rb

i get my version whatever

than when i have to use the backslashes..it says not recognized

(step 2)

Justin Horner
Justin Horner
Treehouse Guest Teacher

Okay, instead of using the cmd prompt to open explorer, try launching explorer manually and navigating to the path that the gem which rubygems command provides you.

You should be able to navigate to the rubygems directory manually and then open the ssl_certs directory where you'll paste the .pem file.

now when i go through installing the gems i get an error when i type into cmd prompt

"gem install rails"

it says:

ERROR: While executing gems .. (NoMethodError) undefined method size for nil:NilClass