start rails server 0.0.0.0 vagrant
Append this to boot.rb
require 'rails/commands/server'
module DefaultOptions
def default_options
super.merge!(Host: '0.0.0.0')
end
end
Rails::Server.send(:prepend, DefaultOptions)
Written by juancho
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#