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 trialLeon Kenedy
Courses Plus Student 9,149 PointsPlease 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
36,441 PointsLike 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.
Fernando Gomez
18,527 PointsHello Leon, try the link below and hopefully it helps.
Leon Kenedy
Courses Plus Student 9,149 PointsTry what?
Fernando Gomez
18,527 PointsThe link
Leon Kenedy
Courses Plus Student 9,149 PointsSo do the command with gem: install?
Leon Kenedy
Courses Plus Student 9,149 PointsLeon Kenedy
Courses Plus Student 9,149 PointsI get the 'rvm' is not a recognized command. That error as well goes for the one you had told me to use.
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 Pointsrvm 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.
Leon Kenedy
Courses Plus Student 9,149 PointsLeon Kenedy
Courses Plus Student 9,149 PointsI am following this tutorial, and I don't know what I am supposed to do then. http://teamtreehouse.com/library/build-a-simple-ruby-on-rails-application/getting-started-with-rails/generate-a-rails-application-2
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsYou 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
36,441 PointsMaciej Czuchnowski
36,441 PointsOh, 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.
Leon Kenedy
Courses Plus Student 9,149 PointsLeon Kenedy
Courses Plus Student 9,149 PointsMy 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
36,441 PointsMaciej Czuchnowski
36,441 PointsI 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.
Leon Kenedy
Courses Plus Student 9,149 PointsLeon Kenedy
Courses Plus Student 9,149 PointsThank you, would I need to download and of the files?
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsNo, 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.
Leon Kenedy
Courses Plus Student 9,149 PointsLeon Kenedy
Courses Plus Student 9,149 PointsAlright, thank you man. One more question, is this what will give me like server access?
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsI 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.