method

version_of

ruby latest stable - Class: Bundler::Env

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

version_of(script)
private

No documentation available.

# File lib/bundler/env.rb, line 89
    def self.version_of(script)
      return "not installed" unless Bundler.which(script)
      `#{script} --version`.chomp
    end