继续this问题。在捆绑安装后,它会在运行服务器时抛出上述错误。link to gitrepo
的Gemfile
gem 'testgem' , :git => 'https://github.com/praveenitmec/testgem.git'
捆绑安装期间
Using sqlite3 1.3.11
Using testgem 0.1.0 from https://github.com/praveenitmec/testgem.git (at master)
Using turbolinks 2.5.3
运行服务器时
Brillios-Mac-mini:test_app_for ucs brilliomac$ rails s
Could not find testgem-0.1.0 in any of the sources
Run `bundle install` to install missing gems.
Brillios-Mac-mini:test_app_for ucs brilliomac$
答案 0 :(得分:0)
实际上问题是我用gemfile(即-testgem-0.1.0.gem)推送,首先就是为什么它会抛出这个错误。
由于gem文件已经可用,因此无法在本地构建gem。