this enables the vagrant port forwarding
This commit is contained in:
parent
1fbd16ac95
commit
869fb816e9
2 changed files with 8 additions and 3 deletions
|
@ -215,6 +215,3 @@ DEPENDENCIES
|
||||||
sass-rails
|
sass-rails
|
||||||
uglifier
|
uglifier
|
||||||
uservoice-ruby
|
uservoice-ruby
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
1.10.6
|
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
require 'rubygems'
|
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.
|
# Set up gems listed in the Gemfile.
|
||||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
||||||
|
|
Loading…
Reference in a new issue