sutty/bin/rails

12 lines
291 B
Text
Raw 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'