我尝试rails server
=无法在任何来源中找到rake-12.0.0 运行bundle install以安装缺少的gem。
我试过bundle update/ install
它转到下面的错误消息。
答案 0 :(得分:1)
尝试将Gemfile
行从source 'https://rubygems.org'
更改为source 'http://rubygems.org'
答案 1 :(得分:0)
请按照以下步骤操作:
gem install rack
bundle update rake
以更新Gemfile.lock文件。bundle install
。答案 2 :(得分:0)
尝试以下命令:
gem update --system
bundle install