Spotter-VM/crisiscleanup/srv/crisiscleanup/conf/boot.rb

16 lines
415 B
Ruby
Raw Normal View History

2017-12-25 11:43:06 +01:00
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
ENV['GOOGLE_MAPS_API_KEY'] = 'AIzaSyBvIF3D550tlpL6o1xRrDurGo-81VhHlOw'
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: 8005)
end
end
end