500 Errors after creating a repo and doing initial commit
Created by: szaydel
I seem to get 500 Errors when I create a repo and then attempt to browse it. However, underlying commits are successful. So, ssh and git obviously work, based on what I am seeing. Hoping maybe this snippet will give a clue.
I see this in production.log:
Started GET "/sparkleshare/szaydel-docs" for 127.0.0.1 at 2013-03-24 15:09:10 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"sparkleshare/szaydel-docs"}
Completed 500 Internal Server Error in 118ms
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'