Closed cmrd-senya closed 9 years ago
You should be able to set a "Host" in the rack_options in your Jasmine.yml. Note the casing, as those options are passed directly into rack.
Thanks, appending
rack_options:
Host: '0.0.0.0'
to jasmine.yml did the trick.
I want to run tests across LAN, so that jasmin is set up on one computer, and web browser runs on another one. In order to do that I have to change the hostname to open port on. But it seems that hostname is hardcoded as localhost at https://github.com/jasmine/jasmine-gem/blob/master/lib/jasmine/base.rb
Is there any way to do this without modifying jasmine-gem source code?