Note that there are some explanatory texts on larger screens.

plurals
  1. POalternative to ruby aws-s3
    text
    copied!<p>Is there alternative to ruby aws-s3.<br> I've installed aws-s3 (gem install aws-s3) but got error when i run my script</p> <pre><code>ruby s3Metadata.rb /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require': /usr/lib/ruby/gems/1.8/gems/builder-3.1.4/lib/builder/xmlbase.rb:183: syntax error, unexpected ',', expecting '|' (SyntaxError) define_method(sym) do |*args, &amp;block| ^ /usr/lib/ruby/gems/1.8/gems/builder-3.1.4/lib/builder/xmlbase.rb:192: syntax error, unexpected kEND, expecting $end from /usr/local/lib/site_ruby/1.8/rubygems /custom_require.rb:31:in 'require' from /usr/lib/ruby/gems/1.8/gems/builder-3.1.4/lib/builder/xmlmarkup.rb:14 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 'require' from /usr/lib/ruby/gems/1.8/gems/builder-3.1.4/lib/builder.rb:12 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 'require' from /usr/lib/ruby/gems/1.8/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:159:in 'require_library_or_gem' from /usr/lib/ruby/gems/1.8/gems/aws-s3-0.6.3/lib/aws/s3.rb:12 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in 'gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in 'require' from s3Metadata.rb:4` s3Metadata.rb:4 = `require 'aws/s3' </code></pre> <p>Googled it but no solution....<br> I need to run script to update/add some metadata in amazon S3. </p> <p><code>aws-s3 (0.6.3)</code><br> have old version of ruby <code>ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]</code><br> I can't upgrade it will mess up a lot of stuff. Is there a solution or alternative to ruby aws-s3? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload