I have added two arguments called address and port to the server task in dubious_tasks.rb. They take the default values of '0.0.0.0' for address and '8080' for port. To pass in arguments they must be called like this - rake server['10.1.x.x', '8089']
The first argument is the address and the second one is the port.
I have added two arguments called address and port to the server task in dubious_tasks.rb. They take the default values of '0.0.0.0' for address and '8080' for port. To pass in arguments they must be called like this - rake server['10.1.x.x', '8089'] The first argument is the address and the second one is the port.