Sha256: 27f0a52172bbc879382f71f0624a92112dd36ea212339c84c8664a86dcdb9ebd

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

module Zauberware
    module DevOps
        require 'zauberware/devops/railtie' if defined?(Rails)

        def self.path
            Dir.pwd
        end

        def self.bin_rails?
            File.exist?(File.join(path, 'bin', 'rails'))
        end

        def self.script_rails?
            File.exist?(File.join(path, 'script', 'rails'))
        end

        def self.bundler?
            File.exist?(File.join(path, 'Gemfile'))
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zauberware-devops-0.0.8 lib/zauberware/devops.rb