簡體   English   中英

運行捆綁安裝后找不到gem'rake'

[英]Can't find gem 'rake' after running bundle install

環境:Windows 10的Bash

我正在嘗試從客戶端存儲庫在工作站上設置Ruby環境。 我運行了bundle install來安裝rbenv中的所有gem。 然后,我運行rake ,應該在該過程中進行安裝並收到錯誤消息。 以下是我以粗體顯示命令時收到的日志。

bundle exec rake db:create

Could not find rake-10.5.0 in any of the sources
Run `bundle install` to install missing gems.

rake

Could not find rake-10.5.0 in any of the sources
Run `bundle install` to install missing gems.

bundle install

Bundle complete! 31 Gemfile dependencies, 124 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

bundle info rake

  * rake (10.5.0)
        Summary: Rake is a Make-like program implemented in Ruby
        Homepage: https://github.com/ruby/rake
        Path: /usr/share/rubygems-integration/all/gems/rake-10.5.0

bundle | grep rake

Using rake 10.5.0

也許您可以嘗試手動安裝rake以查看是否解決了問題,請運行gem install rake -v '10.5.0'

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM