"无法在任何源中找到activesupport,"即使安装了activesupport.

Mat*_*man 4 ruby-on-rails activesupport bundler

当我尝试做rails serverthin start,两人都说:"在任何一个源找不到的ActiveSupport-3.0.6."

我安装了activesupport-3.0.7.我是否需要还原以使activesupport与我的Rails版本(3.0.6)匹配?

Dyl*_*kow 9

bundle install在rails目录中运行(或将Gemfile更改为需要3.0.7而不是3.0.6)

此外,在运行rails命令时,您可以在其前面加上bundle exec以确保它使用正确的版本:

bundle exec rails server
Run Code Online (Sandbox Code Playgroud)