1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-26 10:43:35 +02:00
awesome-compose/ruby_on_rails-postgres/bin/rails
Lukas Pol 4dafb28976 add sample project in ruby on rails with postgres
Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
2020-04-20 18:16:44 -03:00

9 lines
264 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', __dir__)
require_relative '../config/boot'
require 'rails/commands'