mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
11 lines
299 B
Ruby
11 lines
299 B
Ruby
if ENV['DISCOURSE_DUMP_HEAP'] == "1"
|
|
require 'objspace'
|
|
ObjectSpace.trace_object_allocations_start
|
|
end
|
|
|
|
require 'rubygems'
|
|
|
|
# Set up gems listed in the Gemfile.
|
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
|
|
|
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|