Closed jayvee closed 8 years ago
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)
This should be fixed in 0.0.7 of this gem. The AWS Ruby gem changed interfaces.
Hi, I'm trying to a crawl a site and store in an S3 bucket and am getting the error:
My usage: