method

chruby_version

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.

chruby_version()
private

No documentation available.

# File lib/bundler/env.rb, line 94
    def self.chruby_version
      return "not installed" unless Bundler.which("chruby-exec")
      `chruby-exec -- chruby --version`.
        sub(/.*^chruby: (#{Gem::Version::VERSION_PATTERN}).*/, '\1')
    end