[DRE-maint] Bug#826649: ruby-activemodel-3.2: syntax error after security upgrade

Antonio Terceiro terceiro at debian.org
Tue Jun 7 16:52:19 UTC 2016


On Tue, Jun 07, 2016 at 03:19:55PM +0200, adnet ghislain wrote:
> Package: ruby-activemodel-3.2
> Version: 3.2.6-3
> Severity: important
> 
> Dear Maintainer,
> 
> *** Please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> 
> security upgrade of the package
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> revert to the previous version fixed the issue
>  
>    * What was the outcome of this action?
> 
> redmine crashed and showed
> /usr/lib/ruby/vendor_ruby/active_model/validations.rb:57: syntax error, unexpected ':', expecting kEND class_attribute :_validators, instance_writer: false ^
[...]
>Versions of packages ruby-activemodel-3.2 depends on:
> ii  ruby-activesupport-3.2      3.2.6-6+deb7u1
> ii  ruby1.8 [ruby-interpreter]  1.8.7.358-7.1+deb7u3

The syntax error is caused by the fact that you are using ruby1.8, which
indeed does not support the syntax used (and is also severily outdated).

Did you force ruby1.8, or stopped the installation of ruby1.9.1 (which
should be the default in Wheezy), in any way? You probably shouldn't.

Please try using ruby1.9.1. just installing the `ruby` package should do
it.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160607/1aaf3b21/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list