Spotter-VM/lxc-apps/crisiscleanup/install/cc_conf/boot.rb

16 lines
376 B
Ruby

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
ENV['GOOGLE_MAPS_API_KEY'] = ''
require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'rails/commands/server'
module Rails
class Server
alias :default_options_bk :default_options
def default_options
default_options_bk.merge!(Host: '0.0.0.0', Port: 8080)
end
end
end