"Could not find activesupport in any of the sources," even though activesupport is installed.

Matthew Berman picture Matthew Berman · May 4, 2011 · Viewed 10.4k times · Source

When I try to do rails server and thin start, both say: "Could not find activesupport-3.0.6 in any of the sources."

I have activesupport-3.0.7 installed. Do I need to revert so that activesupport matches my Rails version (3.0.6)?

Answer

Dylan Markow picture Dylan Markow · May 4, 2011

Run bundle install in your rails directory (or change your Gemfile to require 3.0.7 instead of 3.0.6)

Also, when running the rails commands, you can prefix it with bundle exec to make sure it's using the correct version:

bundle exec rails server