16 lines
329 B
Ruby
16 lines
329 B
Ruby
# frozen_string_literal: true
|
|
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', __dir__)
|
|
|
|
require 'bundler/setup'
|