Skip to content

Fixed a bug in ARGV parsing for service.rb in chapter 1#3

Open
timbogit wants to merge 1 commit intopauldix:masterfrom
timbogit:master
Open

Fixed a bug in ARGV parsing for service.rb in chapter 1#3
timbogit wants to merge 1 commit intopauldix:masterfrom
timbogit:master

Conversation

@timbogit
Copy link

ARGV.index("-e") returns a integer, not the value of the '-e' command line argument.

Also, 'localhost' was not pointing at the correct place on my machine, so I change the endpoint address to use the 127.0.0.1 IP address

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

Successfully merging this pull request may close these issues.

1 participant