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.

Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Rails Application

What to do if "rails new odot" fails as follows? ...Could not fetch specs from http://rubygems.org/

$ rails new odot
...
  create  vendor/assets/stylesheets/.keep
       run  bundle install
Fetching source index from http://rubygems.org/
Could not fetch specs from https://rubygems.org/

2 Answers

Nathan Elliott
Nathan Elliott
16,232 Points

Hi TJ. Are you using a Windows machine, OSX, or a virtual box with a Linux OS (Ubuntu, etc.)? Were you able to successfully go through the tutorial on installing a Ruby on Rails environment?

Thanks, Nathan. I went back from theRuby on Rails environment installations and up all the way up, and this time it goes without a hitch. This is a Windows 7 machine using the treehouse virtual box. I suspect I previously did wrong somewhere between testapp termination and odot initialization (forgetting "vagrant halt" caused the odot directory freezed??), or during "bundle" of capybara/rspec (as I now realize this takes a looooong time).