Error viewing commits from repository: NoMethodError (undefined method `>>' for "x":String)
Created by: JoeKun
I just installed GitLab master (5.0 beta) on Debian Wheezy using rvm and ruby 2.0.0-p0.
So far, everything worked ok until I pushed an initial commit to a test repo, and tried to view that activity on the GitLab web site.
My username is joel and my repository is test. Here's what I see in the logs:
Started GET "/joel/test" for 50.193.62.69 at 2013-03-17 13:31:15 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"joel/test"}
Completed 500 Internal Server Error in 15ms
NoMethodError (undefined method `>>' for "x":String):
app/models/commit.rb:22:in `find_or_first'
app/models/repository.rb:38:in `commit'
app/models/repository.rb:101:in `has_commits?'
app/models/repository.rb:107:in `empty?'
app/controllers/projects_controller.rb:60:in `block (2 levels) in show'
app/controllers/projects_controller.rb:58:in `show'
Started GET "/static.css" for 50.193.62.69 at 2013-03-17 13:31:16 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"static.css"}
Rendered public/404.html (0.0ms)
Filter chain halted as :project rendered or redirected
Completed 404 Not Found in 3ms (Views: 0.5ms | ActiveRecord: 0.8ms)
I looked very hard and couldn't find any usage of >>
in the find_or_first
method in commit.rb
. So I'm not sure what's going on here.
Any help would be greatly appreciated.