Ruby on rails 捆绑安装的问题

Ruby on rails 捆绑安装的问题,ruby-on-rails,ruby,bundler,Ruby On Rails,Ruby,Bundler,我正试图运行一个旧项目,但我有问题。我正在使用: Ruby-1.9.3 轨道-3.0.20 我在安装gems时遇到以下错误。如何安装这些gems Resolving dependencies................................................................................................................... Bundler could not find compatible ver

我正试图运行一个旧项目,但我有问题。我正在使用:

  • Ruby-1.9.3
  • 轨道-3.0.20
我在安装gems时遇到以下错误。如何安装这些gems

Resolving dependencies...................................................................................................................
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    active_form was resolved to 1.0.4, which depends on
      activesupport (>= 3.0.0)

    active_form was resolved to 1.0.4, which depends on
      activesupport (>= 3.0.0)

    paper_trail (~> 3.0.1) was resolved to 3.0.9, which depends on
      activesupport (< 5.0, >= 3.0)

    paperclip was resolved to 4.3.1, which depends on
      activesupport (>= 3.2.0)

    rails (= 3.0.20) was resolved to 3.0.20, which depends on
      activesupport (= 3.0.20)

    rails (= 3.0.20) was resolved to 3.0.20, which depends on
      activesupport (= 3.0.20)

    rails (= 3.0.20) was resolved to 3.0.20, which depends on
      activesupport (= 3.0.20)

    rails (= 3.0.20) was resolved to 3.0.20, which depends on
      activesupport (= 3.0.20)

    rails (= 3.0.20) was resolved to 3.0.20, which depends on
      activesupport (= 3.0.20)

    rspec-rails (~> 2.14.0) was resolved to 2.14.2, which depends on
      activesupport (>= 3.0)
解决依赖关系。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
捆绑程序找不到gem“activesupport”的兼容版本:
在文件中:
活动形式已解析为1.0.4,这取决于
activesupport(>=3.0.0)
活动形式已解析为1.0.4,这取决于
activesupport(>=3.0.0)
纸迹(~>3.0.1)解析为3.0.9,这取决于
activesupport(<5.0,>=3.0)
回形针解析为4.3.1,这取决于
activesupport(>=3.2.0)
rails(=3.0.20)已解析为3.0.20,这取决于
主动支持(=3.0.20)
rails(=3.0.20)已解析为3.0.20,这取决于
主动支持(=3.0.20)
rails(=3.0.20)已解析为3.0.20,这取决于
主动支持(=3.0.20)
rails(=3.0.20)已解析为3.0.20,这取决于
主动支持(=3.0.20)
rails(=3.0.20)已解析为3.0.20,这取决于
主动支持(=3.0.20)
rspec rails(~>2.14.0)已解析为2.14.2,这取决于
activesupport(>=3.0)

如果仔细阅读说明,问题所在就很清楚了

paperclip was resolved to 4.3.1, which depends on
  activesupport (>= 3.2.0)
这个特定的gem需要一个至少为3.2的
activesupport
版本,但是您的项目将Rails(因此
activesupport
)冻结在3.0.20

您需要使用与旧版本Rails兼容的
回形针
版本。编辑您的
GEM文件
,并指定较旧的
回形针
版本


您可以检查并选择正确的版本。

您应该减少
回形针的版本