Sha256: 3113fc5fc7ccbce6455ffd82a26c25394ed71a804611790499d57ed0980e098e

Contents?: true

Size: 480 Bytes

Versions: 37

Compression:

Stored size: 480 Bytes

Contents

require "capistrano/doctor/output_helpers"

module Capistrano
  module Doctor
    class EnvironmentDoctor
      include Capistrano::Doctor::OutputHelpers

      def call
        title("Environment")
        puts <<-OUT.gsub(/^\s+/, "")
          Ruby     #{RUBY_DESCRIPTION}
          Rubygems #{Gem::VERSION}
          Bundler  #{defined?(Bundler::VERSION) ? Bundler::VERSION : 'N/A'}
          Command  #{$PROGRAM_NAME} #{ARGV.join(' ')}
        OUT
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
capistrano-3.19.2 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.19.1 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.19.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.18.1 lib/capistrano/doctor/environment_doctor.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/lib/capistrano/doctor/environment_doctor.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/lib/capistrano/doctor/environment_doctor.rb
capistrano-3.18.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.17.3 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.17.2 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.17.1 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.17.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.16.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.15.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.14.1 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.14.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.13.0 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.12.1 lib/capistrano/doctor/environment_doctor.rb
capistrano-3.12.0 lib/capistrano/doctor/environment_doctor.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/capistrano-3.11.0/lib/capistrano/doctor/environment_doctor.rb
capistrano-3.11.2 lib/capistrano/doctor/environment_doctor.rb