Module: GemManagement

Module | GemManagement
In: | lib/merb-core/tasks/gem_management.rb

### Methods

clobber ensure_bin_wrapper_for ensure_bin_wrapper_for_installed_gems install_gem install_gem_from_cache install_gem_from_source install_pkg package package_all partition_dependencies rake thor uninstall_gem which

### Included Modules

ColorfulMessages

### Public Instance methods

clobber(source_dir)
ensure_bin_wrapper_for(gem_dir, bin_dir, *gems)

Create a modified executable wrapper in the specified bin directory.

ensure_bin_wrapper_for_installed_gems(gemspecs, options)
install_gem(gem, options = {})

Install a gem - looks remotely and local gem cache; won‘t process rdoc or ri options.

install_gem_from_cache(gem, options = {})

Install a gem - looks in the system‘s gem cache instead of remotely; won‘t process rdoc or ri options.

install_gem_from_source(source_dir, *args)

Install a gem from source - builds and packages it first then installs.

Examples: install_gem_from_source(source_dir, :install_dir => …) install_gem_from_source(source_dir, gem_name) install_gem_from_source(source_dir, :skip => […])

install_pkg(gem_pkg, opts = {})
package(source_dir, clobber = true)
package_all(source_dir, skip = [], packages = [])
partition_dependencies(dependencies, gem_dir)

Partition gems into system, local and missing gems

rake(cmd)
thor(cmd)
uninstall_gem(gem, options = {})

Uninstall a gem.

which(executable)

Use the local bin/* executables if available.

[Validate]