this enables the vagrant port forwarding

This commit is contained in:
Connor Turland 2015-09-19 13:16:07 -04:00
parent 50d9866939
commit 8b7ec73f48
2 changed files with 8 additions and 3 deletions

View file

@ -217,6 +217,3 @@ DEPENDENCIES
sass-rails
uglifier
uservoice-ruby
BUNDLED WITH
1.10.6

View file

@ -1,4 +1,12 @@
require 'rubygems'
require 'rails/commands/server'
module Rails
class Server
def default_options
super.merge(Host: '0.0.0.0', Port: 3000)
end
end
end
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)