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

Ruby

Please help Ruby On Rails.

I am on a windows device and I keep getting this error.

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake- 10.4.2.gem) An error occurred while installing rake (10.4.2), and Bundler cannot continue. Make sure that gem install rake -v '10.4.2' succeeds before bundling.

3 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Like the article says, add this to the gem installation command to see if it fetches the gem from http instead of https: –source http://rubygems.org

And move to Unix-based system or cloud-based environment (example: https://c9.io/ ) as soon as possible. Rails development under Windows will be a pain.

I get the 'rvm' is not a recognized command. That error as well goes for the one you had told me to use.

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

rvm is only available on Linux and Mac. Windows has something similar (Pik), but I'm not sure how it works and if it would help you. Another problem with Windows development is that you will get less support from other developers, since they rarely work under Windows, so they don't know how to help you.

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

You have to google it or ask around if you can't find the solution (Stack Overflow?). Maybe someone here will be able to help you, but I'm not sure if there are many students left who use Windows for Rails here. Like I said, you can use browser environment (cloud9), you can also try developing under virtual machine. Linux is free and things like VMWare Player are also free.

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Oh, one more thing, this is a very outdated tutorial and even if you manage to generate the application, if you're using Rails 4, you will have a very bad time.

My PC does not allow virtualization. Second, I don't know what Cloud nine even is. Could you link me to the download or whatever it is.

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

I linked it above: https://c9.io/ - basically, you just register and get a full Rails development environment where you can work, save projects, even download them as far as I know. It should let you follow the tutorials more properly and doe snot need any installations. It's like a virtual machine, but in your browser.

Thank you, would I need to download and of the files?

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

No, Cloud9 is in the cloud, you don't download anything. But if you want to keep your projects on your computer or something, you can download them from Cloud9.

Alright, thank you man. One more question, is this what will give me like server access?

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

I think it does let you run the server and everything. You just need to read up on how to use it all. This online book guides you through the process nicely (I also recommend it as a Rails source by itself): https://www.railstutorial.org/book/beginning#sec-development_environment

Hope this helps. I don't personally use C9, so there's not much else I could help you with, but I know it's very powerful, people like it, they use it, it works and lets you develop Rails on ANY computer with a browser.

Try what?

So do the command with gem: install?