catch22
catch22

Reputation: 1693

Could not find gem 'aws-3' in any of the gem sources listed in your Gemfile or available on this machine

I'm new to RoR and I keep getting this error when trying to install Amazon gem aws-3:

Could not find gem 'aws-3' in any of the gem sources listed in your Gemfile or available on this machine.

I'm using Rails 5.

The gem per se appears to successfully be installed:

$ gem install aws-s3
Successfully installed aws-s3-0.6.3
Parsing documentation for aws-s3-0.6.3
Done installing documentation for aws-s3 after 1 seconds
1 gem installed

Added it to my Gemfile:

gem 'aws-3', :require => 'aws/s3'

On the top of the Gemfile I have listed:

source 'https://rubygems.org'

Upvotes: 0

Views: 829

Answers (2)

Rais
Rais

Reputation: 69

As told by @Arun Kumar, you need to add aws-s3 gem in your gemfile.Here is the github

Upvotes: 1

Arun Kumar Mohan
Arun Kumar Mohan

Reputation: 11905

You misspelled aws-s3 as aws-3in the Gemfile. It should be

gem 'aws-s3', :require => 'aws/s3'

Note: There's no gem which goes by the name aws-3. That is why you were getting the error.

Upvotes: 1

Related Questions