]> git.openstreetmap.org Git - rails.git/commitdiff
Fix VAGRANT.md for rails 4.2.x
authorGrant Slater <git@firefishy.com>
Sun, 8 Mar 2015 00:52:34 +0000 (00:52 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 8 Mar 2015 00:52:34 +0000 (00:52 +0000)
Rails 4.2.x now binds to 127.0.0.1 by default, so bind to 0.0.0.0 to
work with vagrant port forwarding.

VAGRANT.md

index 0155a3383b1cd7d69fb2e9f25858fcbb62dd8670..d71483569df2b443cda3228cd2cfdb9d0511e1fb 100644 (file)
@@ -38,7 +38,7 @@ To access the web pages you run the following commands then access the site in y
 ```
 vagrant ssh
 cd /srv/openstreetmap-website/
-rails server
+rails server --binding=0.0.0.0
 ```
 
 You edit the code on your computer using the code editor you are used to using, then through shared folders the code is updated on the VM instantly.