Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

[Bug] Error message "undefined method `gsub' for nil:NilClass" when attempting to store something. #231

Open
cli0 opened this issue Mar 11, 2018 · 0 comments

Comments

@cli0
Copy link

cli0 commented Mar 11, 2018

I am running a Vagrant VM with Ubuntu 16.04 and I have set up fake-s3 in there. It's running per the default description in the readme. Then I run a simple bash script that runs a curl command that sends a .conf file to the fake-s3 storage.

In doing that, I get the following error:

[2018-03-11 15:28:39] ERROR NoMethodError: undefined method `gsub' for nil:NilClass
        /var/lib/gems/2.3.0/gems/fakes3-1.2.1/lib/fakes3/server.rb:290:in `do_POST'
        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:107:in `service'
        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'

My bash script does not even use the gsub command anywhere in it. Can anyone help me figure this out?

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

No branches or pull requests

1 participant