I'm trying to make the rails CLI server bind host default to 0.0.0.0 on 
some machines i manage. Currently, it binds to localhost/127.0.0.1, and it 
seems to keep catching new developers who are unaware of this.

Currently, i'm wrapping the rails command with a shell script, 
automatically injecting the `-b 0.0.0.0` flag if it is not provided. This 
is rather hacky though, and gems has issues with it (it won't uninstall 
rails apparently, but that's besides the point).

Do you have any recommendations for defaulting to 0.0.0.0?

Any thoughts would be appreciated. Thanks,

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f829b289-74ee-42d1-b0cd-6e6ff9c22fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to