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.6.5 lib/rvm/environment/wrapper.rb
rvm-1.6.4 lib/rvm/environment/wrapper.rb
rvm-1.6.3 lib/rvm/environment/wrapper.rb
rvm-1.6.2 lib/rvm/environment/wrapper.rb
rvm-1.5.2 lib/rvm/environment/wrapper.rb
rvm-1.5.1 lib/rvm/environment/wrapper.rb
rvm-1.5.0 lib/rvm/environment/wrapper.rb
rvm-1.3.2 lib/rvm/environment/wrapper.rb
rvm-1.3.1 lib/rvm/environment/wrapper.rb
rvm-1.3.0 lib/rvm/environment/wrapper.rb
rvm-1.2.9 lib/rvm/environment/wrapper.rb
rvm-1.2.8 lib/rvm/environment/wrapper.rb
rvm-1.2.7 lib/rvm/environment/wrapper.rb
rvm-1.2.6 lib/rvm/environment/wrapper.rb
rvm-1.2.5 lib/rvm/environment/wrapper.rb
rvm-1.2.4 lib/rvm/environment/wrapper.rb
rvm-1.2.3 lib/rvm/environment/wrapper.rb
rvm-1.2.2 lib/rvm/environment/wrapper.rb
rvm-1.1.12 lib/rvm/environment/wrapper.rb
rvm-1.1.11 lib/rvm/environment/wrapper.rb