1. When diffmode=sidebyside we have 500 error
ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line
#25 of app/views/commit_diffs/_compare_diffs.html.erb:
22: <% if @diffs.blank? -%>
23: <p><%= t("views.commits.message").call(self, tree_path(@commit.id))
%></p>
24: <% else -%>
25: <%= render_diff_stats(@commit.stats) if sidebyside_diff? -%>
26: <%= render_diffmode_selector :url => url_for(:controller =>
:commit_diffs, :action => :compare) -%>
27: <%= render :partial => "commits/diffs" -%>
28: <% end -%>
Local installation under ubuntu 12.04 with latest mainline.
Gem list as follows:
maingit.2gis.local:/var/www/gitorious # bundle show
Gems included by the bundle:
* SystemTimer (1.2.3)
* activemessaging (0.7.1)
* activerecord (2.3.14)
* activesupport (2.3.14)
* acts-as-taggable-on (2.0.6)
* addressable (2.2.7)
* builder (3.0.0)
* bundler (1.2.1)
* capillary (1.0.1)
* capybara (1.0.1)
* childprocess (0.3.1)
* chronic (0.3.0)
* cocaine (0.2.1)
* daemons (1.1.0)
* diff-lcs (1.1.2)
* echoe (4.3.1)
* eventmachine (0.12.10)
* exception_notification (1.0.20090728)
* factory_girl (1.3.3)
* ffi (1.0.9)
* foreman (0.41.0)
* gemcutter (0.6.1)
* geoip (0.8.9)
* hodel_3000_compliant_logger (0.1.0)
* hoe (2.8.0)
* json (1.5.4)
* json_pure (1.6.5)
* just_paginate (0.0.6)
* kgio (2.7.4)
* launchy (2.0.5)
* mime-types (1.16)
* mocha (0.9.10)
* multi_json (1.0.4)
* mysql (2.8.1)
* net-ldap (0.3.1)
* nokogiri (1.5.0)
* oauth (0.4.4)
* paperclip (2.4.5)
* proxymachine (1.2.4)
* rack (1.0.1)
* rack-test (0.6.1)
* raindrops (0.10.0)
* rake (0.8.7)
* rdiscount (1.3.1.1)
* redis (2.2.2)
* redis-namespace (0.7.0)
* resque (1.9.8)
* revo-ssl_requirement (1.1.0)
* riddle (1.2.2)
* rots (0.2.1 babb555)
* ruby-hmac (0.4.0)
* ruby-openid (2.1.8)
* ruby-yadis (0.3.4)
* rubyforge (2.0.4)
* rubyzip (0.9.6.1)
* selenium-webdriver (2.19.0)
* shoulda (2.9.2)
* sinatra (1.0)
* state_machine (0.9.4)
* stomp (1.1)
* stompserver (0.9.9)
* thin (1.2.7)
* thor (0.14.6)
* tuxml (0.0.1)
* unicorn (4.3.1)
* validates_url_format_of (0.1.1)
* vegas (0.1.11)
* will_paginate (2.3.15)
* xpath (0.1.4)
ii ruby1.8 1.8.7.352-2ubuntu1.1
Interpreter of object-oriented scripting language Ruby 1.8
maingit.2gis.local:/# gem --version
1.8.24
Tests are good and all other things are working good. Any ideas how to fix
this or investigate further?
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]