rootstrap/rails_api_base

View on GitHub
bin/rails

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

require 'shellwords'
require_relative 'helpers'

if running_with_docker?
  exec "bin/web './bin/rails #{Shellwords.join(ARGV)}'"
else
  APP_PATH = File.expand_path('../config/application', __dir__)
  require_relative '../config/boot'
  require 'rails/commands'
end