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

Error Saving to AWS #1

Closed
jayvee opened this issue Apr 5, 2016 · 1 comment
Closed

Error Saving to AWS #1

jayvee opened this issue Apr 5, 2016 · 1 comment

Comments

@jayvee
Copy link

jayvee commented Apr 5, 2016

Hi, I'm trying to a crawl a site and store in an S3 bucket and am getting the error:

/opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/staticizer-0.0.6/lib/staticizer/crawler.rb:26:in `initialize': uninitialized constant Staticizer::Crawler::AWS (NameError)

My usage:

uri = URI.parse(ARGV[0])
crawler_opts = {
    :log_level => Logger::DEBUG,
...
crawler_opts.merge!( { :aws => {  :bucket_name => bucket_name,
    :secret_access_key => ENV['AWS_SECRET_ACCESS_KEY'],
    :access_key_id => ENV['AWS_ACCESS_KEY_ID'] } })
...
crawler = Staticizer::Crawler.new(uri.to_s,crawler_opts) 
@conorh
Copy link
Member

conorh commented Sep 15, 2016

This should be fixed in 0.0.7 of this gem. The AWS Ruby gem changed interfaces.

@conorh conorh closed this as completed Sep 15, 2016
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

2 participants