Sha256: 69b5cac2d22d8aeea943a60c82b1e0c040014d2b07d677364cdceac8232cb642

Contents?: true

Size: 612 Bytes

Versions: 107

Compression:

Stored size: 612 Bytes

Contents

module RVM
  class Environment

    # Generates wrappers with the specified prefix, pointing
    # to ruby_string.
    def wrapper(ruby_string, wrapper_prefix, *binaries)
      rvm(:wrapper, ruby_string, wrapper_prefix, *binaries).successful?
    end

    # Generates the default wrappers.
    def default_wrappers(ruby_string, *binaries)
      wrapper ruby_string, '', *binaries
    end

    # If available, return the path to the wrapper for
    # the given executable. Will return ni if the wrapper
    # is unavailable.
    def wrapper_path_for(executable)
      raise NotImplementedError
    end

  end
end

Version data entries

107 entries across 107 versions & 2 rubygems

Version Path
rvm-1.11.3.9 lib/rvm/environment/wrapper.rb
rvm-1.11.3.8 lib/rvm/environment/wrapper.rb
rvm-1.11.3.7 lib/rvm/environment/wrapper.rb
rvm-1.11.3.6 lib/rvm/environment/wrapper.rb
rvm-1.11.3.5 lib/rvm/environment/wrapper.rb
rvm-1.11.3.4 lib/rvm/environment/wrapper.rb
rvm-1.11.3.3 lib/rvm/environment/wrapper.rb
rvm-1.11.3.2 lib/rvm/environment/wrapper.rb
rvm-1.11.3.1 lib/rvm/environment/wrapper.rb
rvm-1.11.3 lib/rvm/environment/wrapper.rb
rvm-1.9.2 lib/rvm/environment/wrapper.rb
rvm-1.9.1 lib/rvm/environment/wrapper.rb
rvm-1.9.0 lib/rvm/environment/wrapper.rb
rvm-1.8.6 lib/rvm/environment/wrapper.rb
rvm-1.8.5 lib/rvm/environment/wrapper.rb
rvm-1.8.4 lib/rvm/environment/wrapper.rb
rvm-1.8.3 lib/rvm/environment/wrapper.rb
rvm-1.8.2 lib/rvm/environment/wrapper.rb
rvm-1.8.1 lib/rvm/environment/wrapper.rb
rvm-1.7.0 lib/rvm/environment/wrapper.rb