OK, My ruby knowledge is zero, but I replaced json_pure 1.4.3 with
1.2.3 and the problem disapeared, I hope its a good solution.


On Jul 17, 12:15 am, shin938 <sha...@tikalk.com> wrote:
> Hi
> I got almost a running gitorious on centos with ruby 1.9,
> when pushing i get the following message, I can see that the source is
> pushed to the repo and i can see the commit message.
> any ideas whats going on? do I need another json gem version?
>
> sha...@shalom-laptop:~/tmp/git-clone/project2-repo2$ git commit -m
> "second"                                                [master
> cea7c6d] second
>  1 files changed, 1 insertions(+), 0 deletions(-)
> sha...@shalom-laptop:~/tmp/git-clone/project2-repo2$ git push origin
> master
> Counting objects: 5, done.
> Writing objects: 100% (3/3), 265 bytes, done.
> Total 3 (delta 0), reused 0 (delta 0)
> /usr/local/lib/ruby/gems/1.9.1/gems/json_pure-1.4.3/lib/json/common.rb:
> 212:in `generate': undefined method `generate' for
> #<JSON::Ext::Generator::State:0x00000016953500> (NoMethodError)
>         from hooks/post-receive:36:in `<main>'
> => Syncing Gitorious... error: hooks/post-receive exited with error
> code 1
> To g...@mygit.tikalk.com:project-2/project-2-repo-2.git
>    d64fedb..cea7c6d  master -> master

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to