简体   繁体   中英

rake gems:install error

When i run rake gems:install, i get the following error:

rake aborted! no such file to load -- aws/s3

I have installed the aws and the s3 gems so I don't quite understand why this is happening.

Thanks!

The lib argument needs to be specified since it is different than the gem name. It should be:

config.gem "aws-s3", :lib => "aws/s3"

尝试使用config.gem 'aws-s3'而不是config.gem 'aws/s3'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM