Sha256: 53cfe188f3ab4e7ed95ffbd25ddca55f9eaeeb829ab7b82d3f2a2f6084924bbc
Contents?: true
Size: 402 Bytes
Versions: 3
Compression:
Stored size: 402 Bytes
Contents
#! /usr/bin/env ruby libdir = File.absolute_path( File.join( File.dirname(__FILE__), '../lib' ) ) $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir) require 'grack' require 'rack' root = File.absolute_path( File.join( File.dirname(__FILE__), '../examples' ) ) app = Grack::Server.new({ project_root: root, upload_pack: true, receive_pack:true }) Rack::Server.start app: app, Port: 3001
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gitlab-grack-2.0.2 | bin/testserver |
gitlab-grack-2.0.1 | bin/testserver |
gitlab-grack-2.0.0 | bin/testserver |