cloudfoundry/cloud_controller_ng

View on GitHub
bin/cloud_controller

Summary

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

require File.expand_path('../config/boot', __dir__)

ENV['RAILS_ENV'] ||= 'production'
ENV['SINATRA_ACTIVESUPPORT_WARNING'] ||= 'false'

require 'cloud_controller'
puts RUBY_DESCRIPTION
begin
  VCAP::CloudController::Runner.new(ARGV).run!
rescue StandardError => e
  puts e
  exit 1
end