Created
September 24, 2015 03:17
-
-
Save Cinderhaze/1d9cab83af6255e22b14 to your computer and use it in GitHub Desktop.
Not sure about the rubygem20-aws-sdk package on aws
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ec2-user@ip-172-31-44-96 modules]$ gem list | |
*** LOCAL GEMS *** | |
bigdecimal (1.2.0) | |
jmespath (1.1.3) | |
json (1.8.2) | |
nokogiri (1.6.1) | |
psych (2.0.0) | |
rdoc (4.1.0) | |
[ec2-user@ip-172-31-44-96 modules]$ sudo yum install rubygem20-aws-sdk | |
Loaded plugins: priorities, update-motd, upgrade-helper | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package rubygem20-aws-sdk.noarch 0:1.51.0-1.0.amzn1 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
======================================================================================== | |
Package Arch Version Repository Size | |
======================================================================================== | |
Installing: | |
rubygem20-aws-sdk noarch 1.51.0-1.0.amzn1 amzn-main 1.4 M | |
Transaction Summary | |
======================================================================================== | |
Install 1 Package | |
Total download size: 1.4 M | |
Installed size: 5.2 M | |
Is this ok [y/d/N]: y | |
Downloading packages: | |
rubygem20-aws-sdk-1.51.0-1.0.amzn1.noarch.rpm | 1.4 MB 00:00 | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
Installing : rubygem20-aws-sdk-1.51.0-1.0.amzn1.noarch 1/1 | |
Verifying : rubygem20-aws-sdk-1.51.0-1.0.amzn1.noarch 1/1 | |
Installed: | |
rubygem20-aws-sdk.noarch 0:1.51.0-1.0.amzn1 | |
Complete! | |
[ec2-user@ip-172-31-44-96 modules]$ gem list | |
*** LOCAL GEMS *** | |
aws-sdk (1.51.0) | |
bigdecimal (1.2.0) | |
jmespath (1.1.3) | |
json (1.8.2) | |
nokogiri (1.6.1) | |
psych (2.0.0) | |
rdoc (4.1.0) | |
[ec2-user@ip-172-31-44-96 modules]$ ruby -e 'require 'aws-sdk' | |
> ' | |
-e:1:in `<main>': undefined local variable or method `aws' for main:Object (NameError) | |
[ec2-user@ip-172-31-44-96 modules]$ ruby -e "require 'aws-sdk'" | |
[ec2-user@ip-172-31-44-96 modules]$ ruby -e "require 'aws-sdk'; s3 = Aws::S3::Client.new(:region => 'us-east-1')" | |
-e:1:in `<main>': uninitialized constant Aws (NameError) | |
[ec2-user@ip-172-31-44-96 modules]$ | |
[ec2-user@ip-172-31-44-96 modules]$ sudo gem install aws-sdk | |
Fetching: aws-sdk-core-2.1.23.gem (100%) | |
Successfully installed aws-sdk-core-2.1.23 | |
Fetching: aws-sdk-resources-2.1.23.gem (100%) | |
Successfully installed aws-sdk-resources-2.1.23 | |
Fetching: aws-sdk-2.1.23.gem (100%) | |
Successfully installed aws-sdk-2.1.23 | |
Parsing documentation for aws-sdk-core-2.1.23 | |
Installing ri documentation for aws-sdk-core-2.1.23 | |
Parsing documentation for aws-sdk-resources-2.1.23 | |
Installing ri documentation for aws-sdk-resources-2.1.23 | |
Parsing documentation for aws-sdk-2.1.23 | |
Installing ri documentation for aws-sdk-2.1.23 | |
Done installing documentation for aws-sdk-core, aws-sdk-resources, aws-sdk after 5 seconds | |
3 gems installed | |
[ec2-user@ip-172-31-44-96 modules]$ gem list | |
*** LOCAL GEMS *** | |
aws-sdk (2.1.23, 1.51.0) | |
aws-sdk-core (2.1.23) | |
aws-sdk-resources (2.1.23) | |
bigdecimal (1.2.0) | |
jmespath (1.1.3) | |
json (1.8.2) | |
nokogiri (1.6.1) | |
psych (2.0.0) | |
rdoc (4.1.0) | |
[ec2-user@ip-172-31-44-96 modules]$ ruby -e "require 'aws-sdk'; s3 = Aws::S3::Client.new(:region => 'us-east-1')" | |
[ec2-user@ip-172-31-44-96 modules]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment