Debian Bug report logs - #657728
ruby-will-paginate: will_paginate 3.0 is not compatible with Rails 2.3 or older (RuntimeError)

version graph

Package: ruby-will-paginate; Maintainer for ruby-will-paginate is Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>; Source for ruby-will-paginate is src:ruby-will-paginate.

Reported by: Antonio Terceiro <terceiro@debian.org>

Date: Sat, 28 Jan 2012 12:42:55 UTC

Severity: normal

Found in version ruby-will-paginate/3.0.2-1

Done: Christian Hofstaedtler <zeha@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#657728; Package ruby-will-paginate. (Sat, 28 Jan 2012 12:43:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antonio Terceiro <terceiro@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 28 Jan 2012 12:43:09 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Antonio Terceiro <terceiro@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ruby-will-paginate: will_paginate 3.0 is not compatible with Rails 2.3 or older (RuntimeError)
Date: Sat, 28 Jan 2012 10:04:37 -0200
[Message part 1 (text/plain, inline)]
Package: ruby-will-paginate
Version: 3.0.2-1
Severity: grave
Justification: renders package unusable

I created a fresh rails application, and add a file
config/initializers/pagination.rb containing:

  require 'will_paginate'

When I start ./script/console, I get the following in the end:

/usr/lib/ruby/vendor_ruby/will_paginate.rb:8:in `<top (required)>': will_paginate 3.0 is not compatible with Rails 2.3 or older (RuntimeError)
  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:182:in `block in require'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:547:in `new_constants_in'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:182:in `require'
  from /tmp/foo/config/initializers/pagination.rb:1:in `<top (required)>'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:171:in `load'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:171:in `block in load_with_new_constant_marking'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:547:in `new_constants_in'
  from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:171:in `load_with_new_constant_marking'
  from /tmp/foo/vendor/rails/railties/lib/initializer.rb:622:in `block in load_application_initializers'
  from /tmp/foo/vendor/rails/railties/lib/initializer.rb:621:in `each'
  from /tmp/foo/vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'
  from /tmp/foo/vendor/rails/railties/lib/initializer.rb:176:in `process'
  from /tmp/foo/vendor/rails/railties/lib/initializer.rb:113:in `run'
  from /tmp/foo/config/environment.rb:9:in `<top (required)>'
  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from /usr/lib/ruby/1.9.1/irb/init.rb:281:in `block in load_modules'
  from /usr/lib/ruby/1.9.1/irb/init.rb:279:in `each'
  from /usr/lib/ruby/1.9.1/irb/init.rb:279:in `load_modules'
  from /usr/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
  from /usr/lib/ruby/1.9.1/irb.rb:53:in `start'
  from /usr/bin/irb:12:in `<main>'

Since the package snyposis says "Pagination for Rails"[*], I assume it should
integrate nicely with the Rails version in Debian.

[*] although I do known that it does not require Rails and can be used without
    it.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-will-paginate depends on:
ii  ruby1.8 [ruby-interpreter]    1.8.7.352-2
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.0-2

ruby-will-paginate recommends no packages.

ruby-will-paginate suggests no packages.

-- no debconf information

-- 
Antonio Terceiro <terceiro@debian.org>
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#657728; Package ruby-will-paginate. (Sat, 05 May 2012 17:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christian Hofstaedtler <christian@hofstaedtler.name>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 05 May 2012 17:03:03 GMT) Full text and rfc822 format available.

Message #10 received at 657728@bugs.debian.org (full text, mbox):

From: Christian Hofstaedtler <christian@hofstaedtler.name>
To: 657728@bugs.debian.org
Subject: Plan
Date: Sat, 5 May 2012 18:36:47 +0200
If ruby-will-paginate and rails are incompatible, why was
(this version of) ruby-will-paginate introduced in the first place?
How is it used currently?

We could remove ruby-will-paginate (easy), upgrade rails (probably
hard) or try to fix will-paginate (extremely hard?).

Is there a plan for this?

Thank you,
  -ch





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#657728; Package ruby-will-paginate. (Sat, 30 Jun 2012 19:15:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christian Hofstaedtler <christian@hofstaedtler.name>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 30 Jun 2012 19:15:06 GMT) Full text and rfc822 format available.

Message #15 received at 657728@bugs.debian.org (full text, mbox):

From: Christian Hofstaedtler <christian@hofstaedtler.name>
To: 657728@bugs.debian.org
Subject: Re: #657728
Date: Sat, 30 Jun 2012 21:01:55 +0200
Now that rails-3.2 has entered the archive, will_paginate works with
one of the shipping rails versions, therefore downgrading to normal.
(Ok'd by original submitter.)




Severity set to 'normal' from 'grave' Request was from Christian Hofstaedtler <christian@hofstaedtler.name> to control@bugs.debian.org. (Sat, 30 Jun 2012 19:15:08 GMT) Full text and rfc822 format available.

Reply sent to Christian Hofstaedtler <zeha@debian.org>:
You have taken responsibility. (Tue, 25 Feb 2014 23:51:05 GMT) Full text and rfc822 format available.

Notification sent to Antonio Terceiro <terceiro@debian.org>:
Bug acknowledged by developer. (Tue, 25 Feb 2014 23:51:05 GMT) Full text and rfc822 format available.

Message #22 received at 657728-close@bugs.debian.org (full text, mbox):

From: Christian Hofstaedtler <zeha@debian.org>
To: 657728-close@bugs.debian.org
Subject: No longer applicable in sid
Date: Wed, 26 Feb 2014 00:49:24 +0100
jessie/sid no longer carries Rails 2.3, so this problem went away.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 26 Mar 2014 07:29:07 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 03:37:36 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.