]> git.ipfire.org Git - thirdparty/git.git/commit - git-instaweb.sh
instaweb: support for Ruby's WEBrick server
authorMike Dalessio <mike@csa.net>
Sat, 6 Oct 2007 17:29:49 +0000 (13:29 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Oct 2007 01:36:19 +0000 (21:36 -0400)
commit425b78e886e80f3c9f845edebfb199719a8f2d87
tree3157627a2346cd09abd540492a2c74d9243a1413
parent14b45b66e7f75341040c9797af60fb9318c8b047
instaweb: support for Ruby's WEBrick server

running the webrick server with git requires Ruby and Ruby's YAML and
Webrick libraries (both of which come standard with Ruby). nice for
single-user standalone invocations.

the --httpd=webrick option generates a ruby script on the fly to read
httpd.conf options and invoke the web server via library call. this
script is placed in the .git/gitweb directory. it also generates a
shell script in a feeble attempt to invoke ruby in a portable manner,
which assumes that 'ruby' is in the user's $PATH.

Signed-off-by: Mike Dalessio <mike@csa.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Documentation/git-instaweb.txt
git-instaweb.sh