mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-23 07:14:10 +00:00
10 lines
268 B
Ruby
Executable file
10 lines
268 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
begin
|
|
load File.expand_path('../spring', __FILE__)
|
|
rescue LoadError => e
|
|
raise unless e.message.include?('spring')
|
|
end
|
|
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
require_relative '../config/boot'
|
|
require 'rails/commands'
|