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 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).