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

16 lines
376 B
Ruby
Raw Permalink Normal View History

2017-12-25 11:43:06 +01:00
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2018-08-02 10:41:40 +02:00
ENV['GOOGLE_MAPS_API_KEY'] = ''
2017-12-25 11:43:06 +01:00
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)
2017-12-25 11:43:06 +01:00
end
end
end