我尝试部署在主机服务器上。但是,当我去我的域名,我看到PHUSION乘客的错误消息:Bundler找不到兼容版本的gem“rspec-mocks” - Bundler :: VersionConflict
Could not find gem 'guard-rspec (= 2.5.0) ruby' in the gems available on this machine. (Bundler::GemNotFound)
所以我做的:
$ gem install rspec-rails -v 2.13.1
然后我得到:
Could not find gem 'rspec-rails (= 2.13.1) ruby' in the gems available on this machine. (Bundler::GemNotFound)
SO我再做:
$ gem install guard-rspec -v 2.5.0
最后我得到这个:
捆扎机找不到兼容版本的宝石 “rspec的-嘲笑”: 在Gemfile中: 护rspec的(= 2.5.0)红宝石取决于 rspec的,嘲笑(〜> 2.14.0)红宝石
rspec-rails (= 2.13.1) ruby depends on
rspec-mocks (2.13.1)
(捆扎机:: VersionConflict)
我必须从我的Gemfile中删除其中之一吗?
我想你的意思束更新...胎面非常小心,当这样做!很多人可能会出错.... YMMV。 – stephenmurdoch