Module: Smeagol

Defined in:
lib/smeagol.rb,
lib/smeagol/app.rb,
lib/smeagol/cli.rb,
lib/smeagol/wiki.rb,
lib/smeagol/cache.rb,
lib/smeagol/config.rb,
lib/smeagol/console.rb,
lib/smeagol/version.rb,
lib/smeagol/settings.rb,
lib/smeagol/controller.rb,
lib/smeagol/repository.rb,
lib/smeagol/views/base.rb,
lib/smeagol/views/form.rb,
lib/smeagol/views/page.rb,
lib/smeagol/views/post.rb,
lib/smeagol/helpers/rss.rb,
lib/smeagol/helpers/toc.rb,
lib/smeagol/views/versions.rb

Defined Under Namespace

Modules: CLI, Console, Views Classes: App, Cache, Config, Controller, RSS, Repository, Settings, TOC, Wiki

Constant Summary collapse

LIBDIR =
File.dirname(__FILE__) + '/smeagol'
VERSION =
"0.6.0"

Class Method Summary collapse

Class Method Details

.gitString

TODO:

Can we use shell.rb for this?

TODO:

This hsould not be necessary. 99% of the time it’s just ‘git`.

For the rest if $GIT environment variable.

Locates the git binary in common places in the file system.

Returns:

  • (String)

    path to git executable.



12
13
14
# File 'lib/smeagol.rb', line 12

def self.git
  ENV['git'] || ENV['GIT'] || 'git'
end