Feature Req - specify host in guard-rails
HendrikPetertje opened this issue · 1 comments
New versions of rails (4.2.2-beta-x and onward), will use an updated version of rack that loads the server on localhost:3000
(making only http://localhost:3000 accessible) instead of 0.0.0.0:3000
(which makes all hosts (192.168.2.1:300 as the wifi's address for example) configured on the development machine accessible). Prior to the update I could start my server and check the app out on various wifi-connected devices laying around. or access the app on a virtual machine's host. Now this default has changed.
could you create the option in the guard-rails part to specify a custom host for the app to listen to? like making it: guard 'rails', host: '0.0.0.0' do
.
more info on this new rack can be found here.
New version 0.7.0 is released. Check it out!
BTW, you actually can use the :CLI
option to customize all you can wish: CLI: "rails server -b localhost"
Hope this can help!