Sha256: 876b8a79b550ea2993c0e57a35725c84bcbe41768caf83a84185e90bda0944d3
Contents?: true
Size: 576 Bytes
Versions: 13
Compression:
Stored size: 576 Bytes
Contents
module Capistrano module Ops require 'capistrano/ops/notification' require 'capistrano/ops/railtie' if defined?(Rails) require 'capistrano/ops/capistrano' if defined?(Capistrano::VERSION) 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
13 entries across 13 versions & 1 rubygems