2011-11-13 42 views
4

在Gemfile中,捆紮機拋出的寶石沒有這樣的文件或目錄安裝

gem "backup", :git => "git://github.com/tenmiles/backup.git", :ref => "develop" 

ñ本地和分期,bundle install沒有完成成功。在生產中,當bundle install --deployment發生,捆綁引發此錯誤

Using backup (3.0.19) from git://github.com/tenmiles/backup.git (at develop) 
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:365:in `initialize': No such file or directory - /home/anand/public_html/myapp/releases/20111113170352/vendor/bundle/ruby/1.9.1/bundler/gems/gems/backup-3.0.19/bin/backup (Errno::ENOENT) 

/home/anand/public_html/myapp/releases/20111113170352/vendor/bundle/ruby/1.9.1/bundler/gems/gems/檢查和備份150fb5168ebe在那裏!它是一個通過git安裝的gem。爲什麼bundler在尋找備份3.0.19。我如何刷新備份寶石,並要求bundler從頭開始重新安裝寶石。

請幫

回答

1

提到我曾就此問題與1.0.10,但是當我的服務器更新到1.0打捆.21問題就消失了。

0

我對當前spork有一些問題。如果指定一個版本,它應該工作

gem "backup", '1.0', :git => "git://github.com/tenmiles/backup.git" 

它固定爲我

相關問題