出现错误:——
git://github.com/odorcicd/authlogic.git (at rails3) is not checked out. Please run `bundle install`
即使在运行bundle install之后。我试过了,但仍然没有运气
cd vendor/plugins
git clone git://github.com/odorcicd/authlogic.git
cd authlogic
git checkout --track -b rails3 origin/rails3
解决方案如下:-
Relace
gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3'
gem 'authlogic'
确保你做到了:——
cd vendor/plugins
git clone git://github.com/odorcicd/authlogic.git
cd authlogic
git checkout --track -b rails3 origin/rails3
在运行bundle install之前,你不需要在本地克隆gem仓库。它应该只与远程git仓库一起工作。
我花了一个星期的时间尝试各种方法来解决这样一个问题。按照这里的所有故障排除步骤最终解决了这个问题:
https://github.com/carlhuda/bundler/blob/master/ISSUES.md祝你好运!