Matthew Berman
Matthew Berman

Reputation: 8631

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

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

Upvotes: 4

Views: 12183

Answers (2)

Dylan Markow
Dylan Markow

Reputation: 124409

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

Upvotes: 9

dnch
dnch

Reputation: 9605

Sounds like your Gemfile and your installed gems are out-of-sync:

  1. Which version of Rails is listed in your Gemfile—3.0.6 or 3.0.7?

  2. Have you run bundle install?

Upvotes: 3

Related Questions