Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aws::VERSION is not up #1592

Closed
k1LoW opened this issue Sep 1, 2017 · 7 comments
Closed

Aws::VERSION is not up #1592

k1LoW opened this issue Sep 1, 2017 · 7 comments

Comments

@k1LoW
Copy link

k1LoW commented Sep 1, 2017

Issue description

Aws::VERSION is not up

Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version

  • aws-sdk-core

Version of Ruby, OS environment

$ ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin15]

Code snippets / steps to reproduce

https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-core/lib/aws-sdk-core/version.rb#L2

@cjyclaire
Copy link
Contributor

@k1LoW Thanks for catching, working on fix this

@cjyclaire
Copy link
Contributor

A side note is that for core version, it's tracking VERSION file instead, which has the correct version, I'll remove the redundant one.

@cjyclaire
Copy link
Contributor

PR has been merged, closing : )

@JaganNarayanan
Copy link

Sorry, newbie here. I get this error 'uninitialized constant Aws::VERSION' when loading my page after using the gem 'aws-sdk'. How do I remove the version file? Will it fix this? Thank you in advance!

@cjyclaire
Copy link
Contributor

@JaganNarayanan Could you provide more context? Which version of the gem are you on? I tried install the aws-sdk gem from scratch and tried several API calls, I cannot reproduce the error here.

@JaganNarayanan
Copy link

Gemfile
gem 'aws-sdk'
config/environments/development.rb
config.paperclip_defaults = { storage: :s3, s3_region: ENV["aws_bucket_region"], s3_credentials: { # s3_host_name: ENV["aws_bucket_name"], bucket: ENV["aws_bucket_name"], access_key_id: ENV["amazon_key"], secret_access_key: ENV["amazon_secret_access_key"] } }

config/environment/production.rb
config.paperclip_defaults = { :storage => :s3, :preserve_files => true, :bucket => ENV['aws_bucket_name'] }

That was my code. I also tried using older versions of the gem, 1 & 2 but I get the same version error. Any help would be much appreciated, thanks!

@ghost
Copy link

ghost commented Sep 12, 2017

Possible side effect: thoughtbot/paperclip#2484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants