Closed alloy closed 12 years ago
Oh dear. I can, using "heroku logs". I'll try to find out how you can get access.
When indexing, the search tries to:
/tmp/specs/EGOTableViewPullRefresh/0.1/EGOTableViewPullRefresh.podspec:5:in block in _eval_podspec': undefined method
license=' for #Pod::Specification:0x00000002326868 (NoMethodError)
2011-11-14T10:30:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/cocoapods-0.2.0/lib/cocoapods/specification.rb:23:in `initialize'
Ah I see, it’s a CocoaPods 0.2.0 => 0.3.0 issue. Maybe the indexer should add a Specification#method_missing implementation which ensures that when we add new attributes this doesn't cause a problem?
This is an idea, but perhaps we should restart the search whenever CocoaPods is released? Perhaps… even through a post-receive hook? :D
What I wanted to say was that I'd much prefer an automated solution to the problem. I guess it's a good idea for the app to do exception handling and in case one occurs, do not try to index. Then, try to get the newer CocoaPods gem and restart itself.
Fixed in 0.3.1. Access to logs given :)
Let's discuss automation of this in another issue.
Is there a way for me to see the logs?
Currently the app returns a 500 :-/