2012-09-23 02:39:12 +00:00
|
|
|
require 'rubygems'
|
2015-09-19 17:16:07 +00:00
|
|
|
require 'rails/commands/server'
|
2016-07-01 07:18:18 +00:00
|
|
|
|
2015-09-19 17:16:07 +00:00
|
|
|
module Rails
|
|
|
|
class Server
|
|
|
|
def default_options
|
|
|
|
super.merge(Host: '0.0.0.0', Port: 3000)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2012-09-23 02:39:12 +00:00
|
|
|
|
|
|
|
# Set up gems listed in the Gemfile.
|
2016-07-01 07:18:18 +00:00
|
|
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
2012-09-23 02:39:12 +00:00
|
|
|
|
2016-07-01 07:18:18 +00:00
|
|
|
require 'bundler/setup'
|