0
每次我部署到我的生產服務器我得到對於使用git的路徑寶石以下錯誤:「包安裝」錯誤使用Git路徑寶石的Rails 3
git://github.com/odorcicd/example.git (at rails3) is not checked out. Please run `bundle install` (Bundler::PathError)
我發現,如果我運行「bundle install --deployment」它解決了這個問題。但它會再次安裝我的所有寶石,並且必須在每次部署後執行。有沒有人找到比這更好的解決方案?
這是我的Gemfile中使用的git路徑的例子:
gem 'efax', :git => 'https://github.com/TTDaVeTT/efax.git'
通常,我使用':git =>「git:// github.com/foo_bar.git'沒有http url – apneadiving