5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 02:06:21 +00:00
panel/bin/rails

12 lines
291 B
Text
Raw Permalink Normal View History

2018-01-02 17:19:25 +00:00
#!/usr/bin/env ruby
2019-03-26 15:32:20 +00:00
# frozen_string_literal: true
2018-01-02 17:19:25 +00:00
begin
2019-03-26 15:32:20 +00:00
load File.expand_path('spring', __dir__)
2018-01-02 17:19:25 +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'