jubos / fake-s3

A lightweight server clone of Amazon S3 that simulates most of the commands supported by S3 with minimal dependencies
2.94k stars 355 forks source link

fakes3 error #230

Open geyungjen opened 6 years ago

geyungjen commented 6 years ago

When running fakes3, I got below error

$fakes3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': /usr/lib/ruby/gems/1.8/gems/fakes3-1.2.1/lib/fakes3/cli.rb:57: syntax error, unexpected ':', expecting ')' (SyntaxError) ...cert_path,ssl_key_path, quiet: !!options[:quiet]) ^ /usr/lib/ruby/gems/1.8/gems/fakes3-1.2.1/lib/fakes3/cli.rb:57: syntax error, unexpected ')', expecting kEND from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' from /usr/lib/ruby/gems/1.8/gems/fakes3-1.2.1/bin/fakes3:5 from /usr/bin/fakes3:19:in `load' from /usr/bin/fakes3:19

Same as running

fakes3 -r /mnt/fakes3_root -p 4567

Is there a work around? Thanks.