gem 'aws-sdk'
gem 'dotenv'
gem 'sinatra'
这是我的gem文件。但是当我使用捆绑安装时,会看到此输出。
root@DESKTOP-ETLLRI1 C:\Users\root\Desktop\case 9\FaceRekognition-Demo
$ bundle install
Resolving dependencies...
Your Gemfile has no gem server sources. If you need gems that are not already on
your machine, add a line like this to your Gemfile:
source 'https://rubygems.org'
Could not find aws-sigv4-1.0.0 in any of the sources
答案 0 :(得分:1)
您必须在Gemfile的开头添加以下行:
source 'https://rubygems.org'
答案 1 :(得分:0)
步骤1
安装aws-sigv4 -v 1.0.3
gem install aws-sigv4 -v 1.0.3
第2步
捆绑包更新