Is this project still maintained?

80 views
Skip to first unread message

陈若涵

unread,
Sep 8, 2012, 10:41:34 AM9/8/12
to git-...@googlegroups.com
I have try to boot git-webby, like README said

# config.ru
require "git/webby"

Git::Webby::HttpBackend.configure do |server|
  server.project_root = "/home/git/repositories"
  server.git_path     = "/usr/bin/git"
  server.get_any_file = true
  server.upload_pack  = true
  server.receive_pack = false
  server.authenticate = true
end

$ rackup --port 2011 --daemonize
$ git clone http://localhost:2011/mycode.git
but failed with:

/var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:129:in `to_app': missing run or map statement (RuntimeError)        from /tmp/tmp.oAhcNcjIty/config.ru:1:in `<main>'
        from /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'        from /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
        from /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'        from /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
        from /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
        from /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:137:in `start'
        from /var/lib/gems/1.9.1/gems/rack-1.4.1/bin/rackup:4:in `<top (required)>'
        from /usr/local/bin/rackup:23:in `load'
        from /usr/local/bin/rackup:23:in `<main>'

What's wrong with it?

$ gem list git-webby
*** LOCAL GEMS **
git-webby (0.2.0) 

Hallison Batista

unread,
May 14, 2015, 5:35:24 PM5/14/15
to git-...@googlegroups.com, crha...@gmail.com
Wow!!! Sorry...

Try put the run command at end of configuration:

Git::Webby::HttpBackend.configure do |server|
  server.project_root = "/home/git/repositories"
  server.git_path     = "/usr/bin/git"
  server.get_any_file = true
  server.upload_pack  = true
  server.receive_pack = false
  server.authenticate = true
end

run Git::Webby::HttpBackend

Thanks for use it!

It makes me feel better. I guess I'll work in project again.
Reply all
Reply to author
Forward
0 new messages