1
嘗試在Opworks中創建新實例時,運行設置失敗。日誌顯示,當安裝嘗試從Github上源的寶石失敗,我已經嘗試了幾種選擇:Opsworks - 如何從GitHub源安裝gem?
gem 'themes_on_rails', git: '[email protected]:yoolk/themes_on_rails.git', branch: 'master'
gem 'themes_on_rails', git: 'https://github.com/yoolk/themes_on_rails.git', branch: 'master'
gem 'themes_on_rails', github: 'yoolk/themes_on_rails', branch: 'master'
但是日誌顯示了相同的錯誤:
SystemStackError: stack level too deep
An error occurred while installing themes_on_rails (0.3.1), and Bundler cannot
continue.
如何需要指定我的Gemfile中的gem讓它在Opsworks中工作?
PD:它發生在我從Github指定的所有寶石上,而不僅僅是所提供的例子。
我試着用'gem'themes_on_rails',git:'https://github.com/yoolk/themes_on_rails.git',分支:'master' ',它工作正常。你能否在本地和實例內成功運行bundle install? –
我也有這個問題@darkcode。有任何想法嗎? – Sean