A test case for Gem::Installer.

Instance Methods
No documentation available

Creates the following instance variables:

@spec

a spec named ‘a’, intended for regular installs

And returns a gem built for the @spec

Creates the following instance variables:

@spec

a spec named ‘a’, intended for regular installs

@gem

the path to a built gem from @spec

And returns a Gem::Installer for the @spec that installs into @gemhome

Sets up a generic specification for testing the rubygems installer

And returns it

Creates the following instance variables:

@spec

a spec named ‘a’, intended for regular installs

@user_spec

a spec named ‘b’, intended for user installs

@gem

the path to a built gem from @spec

@user_gem

the path to a built gem from @user_spec

And returns a Gem::Installer for the @user_spec that installs into Gem.user_dir

Creates an installer for spec that will install into gem_home. If user is true a user-install will be performed.

The path where installed executables live

Adds an executable named “executable” to spec with the given shebang.

The executable is also written to the bin dir in @tmpdir and the installed gem directory for spec.

Builds the @spec gem and returns an installer for it. The built gem includes:

bin/executable
lib/code.rb
ext/a/mkrf_conf.rb

Sets up the base @gem, builds it and returns an installer for it.