2019-04-05 20:20:20 +00:00
|
|
|
#!/usr/bin/env ruby
|
2019-04-05 20:52:04 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-04-05 20:20:20 +00:00
|
|
|
begin
|
2019-04-05 20:52:04 +00:00
|
|
|
load File.expand_path('spring', __dir__)
|
2019-04-05 20:20:20 +00:00
|
|
|
rescue LoadError => e
|
|
|
|
raise unless e.message.include?('spring')
|
|
|
|
end
|
|
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
|
|
require_relative '../config/boot'
|
|
|
|
require 'rails/commands'
|