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.32 lib/rvm/environment/wrapper.rb
rvm-1.6.31 lib/rvm/environment/wrapper.rb
rvm-1.6.30 lib/rvm/environment/wrapper.rb
rvm-1.6.29 lib/rvm/environment/wrapper.rb
rvm-1.6.27 lib/rvm/environment/wrapper.rb
rvm-1.6.24 lib/rvm/environment/wrapper.rb
rvm-1.6.23 lib/rvm/environment/wrapper.rb
rvm-1.6.22 lib/rvm/environment/wrapper.rb
rvm-1.6.21 lib/rvm/environment/wrapper.rb
rvm-1.6.20 lib/rvm/environment/wrapper.rb
rvm-1.6.19 lib/rvm/environment/wrapper.rb
rvm-1.6.16 lib/rvm/environment/wrapper.rb
rvm-1.6.13 lib/rvm/environment/wrapper.rb
rvm-1.6.12 lib/rvm/environment/wrapper.rb
rvm-1.6.11 lib/rvm/environment/wrapper.rb
rvm-1.6.10 lib/rvm/environment/wrapper.rb
rvm-1.6.9 lib/rvm/environment/wrapper.rb
rvm-1.6.8 lib/rvm/environment/wrapper.rb
rvm-1.6.7 lib/rvm/environment/wrapper.rb
rvm-1.6.6 lib/rvm/environment/wrapper.rb