對於Ruby,我是絕對的初學者 - 我只是按照一步一步的教程來安裝OpenProject。儘管安裝了寶石,但還是找不到寶石
現在我有以下行命令的問題:
RAILS_ENV=production bundle exec rake db:create
它返回
Could not find rake-11.3.0 in any of the sources
當我檢查與紅寶石版 「紅寶石-v」 它打印
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
現在,當我檢查耙子時:
gem list | grep rake
輸出爲:
rake (12.0.0)
...那麼,爲什麼抱怨說,它無法找到耙11.3.0甚至艱難的第12版安裝?
謝謝!
除了'gem list'之外,請嘗試'bundle show'以確保您已安裝寶石。 – wesley6j
它說:無法找到任何來源中的activesupport-5.0.0.1 – user1658080
不知道你爲什麼要手動安裝OpenProject,但如果你想在生產環境中運行它,我推薦使用[打包安裝] (https://packager.io/gh/opf/openproject-ce) – ulferts