【发布时间】:2016-02-28 15:41:59
【问题描述】:
我是 Rails 新手,我使用 4.2.4 版本构建了我的第一个 Web 应用程序。
我正在尝试使用安装 activeadmin gem
gem 'activeadmin', '~> 0.6.6'
但是,当我运行 bundle install 时,我收到一条错误消息:
Bundler could not find compatible versions for gem "rails":
In snapshot (Gemfile.lock):
rails (= 4.2.4)
In Gemfile:
activeadmin (~> 0.6.6) ruby depends on
rails (< 4, >= 3.0.0) ruby
rails (= 4.2.4) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
这是否表明我需要使用 rails 版本才能使这个 gem 工作,或者我可以保留 4.2.4 并使用建议的包更新方法而不会导致我的应用程序和其他 gem 出现任何问题?
【问题讨论】:
标签: ruby-on-rails ruby activeadmin