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

When I try to run 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. Does it need to be returned so that activesupport matches my version of Rails (3.0.6)?

+4
source share
2 answers

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

In addition, when running rails commands, you can prefix it with bundle exec to make sure it is using the correct version:

 bundle exec rails server 
+9
source

It sounds like your Gemfile and your installed stones are out of sync:

  • What version of Rails is listed in your Gemfile -3.0.6 or 3.0.7?

  • Did you bundle install ?

+3
source

All Articles