Ruby_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# rails_installed( )
bool ruby_on_rails_enabled (void) Checks to see if Ruby on Rails support is enabled for a domain
public
# get_gem( $gem , $local = false )
public
public
# list_installed_gems( string $rubyver = NULL )
List all installed (local) gems
public
# exists( )
bool ruby_exists (void) Checks to see if /usr/bin/ruby exists for a given domain
public
# gem_exists( )
bool gem_exists (void) Checks to see if /usr/bin/gem exists for use with Ruby
public
# install_rails( $ver = NULL )
Installs Ruby, RoR, rake, and rubygems
public
# version( $full = false )
public
# install_gem( string $gem , $ver = NULL )
install Ruby gem
public
# gem_version( $gem , $local = false )
public
# gem_description( string $mGemName )
string get_gem_description (string) Fetches the description for a gem
public
# rubygems_version( )
Get installed version of RubyGems
public
public
# uninstall_gem( $gem , $ver = NULL )
public
# _edit( )
public
# initialize_gemset( $user = NULL )
public
# _create( )
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public string RUBY_DIR
# '/usr/local/lib/ruby'
public string RUBY_VERSION_FULL
# '1.9.1'
public string RUBY_VERSION
# '1.9'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
public $exportedFunctions
# array ( '*' => 2, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql