Sha256: 55a2d4db0aabe98369328c89c39c6be4a13bb88afb2a62d41179ab0f58fa6399

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

require 'rails'
require 'thor'
require 'confstruct'
require 'confstruct/configuration'

require 'rda/railtie'
require 'rda/rails'
require 'rda/rvm'
require 'rda/nginx'
require 'rda/app'

module Rda
  class << self
    def config
      @config ||= Confstruct::Configuration.new do
        nginx_conf_paths ['/etc/nginx', '/usr/local/nginx/conf', '/opt/nginx/conf']
      end
    end

    def configure(&block)
      config.configure(&block)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rda-0.3.0 lib/rda.rb
rda-0.2.0 lib/rda.rb
rda-0.1.0 lib/rda.rb