Mailinglist Archive: opensuse-buildservice (184 mails)

< Previous Next >
Re: [opensuse-buildservice] Local openSuSE Build Service at 11.0
  • From: Andreas Bauer <abauer@xxxxxxx>
  • Date: Thu, 09 Oct 2008 19:41:02 +0200
  • Message-id: <48EE422E.7070809@xxxxxxx>
aledr schrieb:
Here is what I see in "/srv/www/obs/frontend/log/production.log":


ActionView::TemplateError (undefined method `update_element_function'
for #<ActionView::Base:0x7f7986ebaad0>) on line #4 of

Ah. update_element_function seems to have disappeared in a recent rails update. The version you use is probably too new for the webclient.

The webclient currently doesn't enforce a specific rails version but uses the most recent one installed. This will be fixed in a (hopefully soon) updated obs stable package. In the meantime you can use the attached patch to force using of rails 1.2.6. Of course this version has to be installed on your system then.


Index: webclient/config/environment.rb
--- webclient/config/environment.rb (Revision 5307)
+++ webclient/config/environment.rb (Revision 5308)
@@ -3,6 +3,7 @@
# Uncomment below to force Rails into production mode when
# you don't control web/app server and can't set it the proper way
# ENV['RAILS_ENV'] ||= 'production'

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
< Previous Next >