aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/dummy/config/boot.rb
blob: 72516d92551cb3bfbbca27ba7148363691f4957c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

# Set up gems listed in the Gemfile.
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__)

require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
$LOAD_PATH.unshift File.expand_path("../../../lib", __dir__)

if %w[s server c console].any? { |a| ARGV.include?(a) }
  puts "=> Booting Rails"
end