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.0.0 lib/rvm/environment/wrapper.rb
rvm-0.1.47 lib/rvm/environment/wrapper.rb
rvm-0.1.46 lib/rvm/environment/wrapper.rb
rvm-0.1.45 lib/rvm/environment/wrapper.rb
rvm-0.1.44 lib/rvm/environment/wrapper.rb
rvm-0.1.43 lib/rvm/environment/wrapper.rb
rvm-0.1.42 lib/rvm/environment/wrapper.rb