Top Level Namespace

Defined Under Namespace

Modules: Rugged

Constant Summary collapse

CWD =
File.expand_path(File.dirname(__FILE__))
ROOT_DIR =
File.expand_path(File.join(CWD, '..', '..', '..'))
REDIS_BACKEND_DIR =
File.join(ROOT_DIR, 'vendor', 'libgit2-backends', 'redis')
RUGGED_EXT_DIR =
File.join(rugged_root, 'ext', 'rugged')
LIBGIT2_DIR =
File.join(rugged_root, 'vendor', 'libgit2')
HIREDIS_DIR =

Build hiredis

File.join(ROOT_DIR, 'vendor')

Instance Method Summary collapse

Instance Method Details

#sys(cmd) ⇒ Object



10
11
12
13
14
15
16
# File 'ext/rugged/redis/extconf.rb', line 10

def sys(cmd)
  puts " -- #{cmd}"
  unless ret = xsystem(cmd)
    raise "ERROR: '#{cmd}' failed"
  end
  ret
end