Your message dated Sat, 05 Jul 2008 00:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484351: fixed in rails 2.1.0-1
has caused the Debian Bug report #484351,
regarding rails: breaks with ruby 1.8.7
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
484351: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484351
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: rails
Version: 2.0.2-2
Severity: grave
Tags: patch
Justification: renders package unusable
Since I upgraded to ruby 1.8.7 from sid, my rails applications started
to break. The problem is that the core extension in activesupport in
2.0.x are not compatible with ruby 1.8.7.
To reproduce you can run the activesupport unit tests with ruby 1.8.7
installed.
I backported change f67b070facef6574df3c4386e3975242273fe456 from
upstream's git repo ("edge rails") to 2.0.2, and AFAICT everything works
now (e.g. activesupport unit tests all pass, and my applications work
again). Follows the patch attached.
Cheers,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages rails depends on:
ii dpkg 1.14.19 package maintenance system for Deb
ii liberb-ruby 4.2 transitional dummy package
ii libpgsql-ruby1.8 0.7.9.2008.03.18-1 PostgreSQL interface for Ruby 1.8
ii libredcloth-ruby 3.0.99.0.svn.20060519-1 Textile module for Ruby 1.8
ii libruby [liberb- 4.2 Libraries necessary to run Ruby 1.
ii libruby1.8-extra 0.4 a bundle of additional libraries f
ii libsqlite3-ruby1 1.2.1-1 SQLite3 interface for Ruby 1.8
ii rake 0.8.1-3 a ruby build program
ii rdoc 4.2 Generate documentation from ruby s
ii ruby 4.2 An interpreter of object-oriented
ii ruby1.8 1.8.7-1 Interpreter of object-oriented scr
ii rubygems 1.1.1-1 package management framework for R
Versions of packages rails recommends:
ii irb 4.2 Interactive Ruby (irb)
ii libmocha-ruby1.8 0.5.6-1 Mocking and stubbing library for R
-- no debconf information
--
Antonio Terceiro <[EMAIL PROTECTED]>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: 0F9CB28F
diff --git a/activesupport/lib/active_support/core_ext/string/unicode.rb b/activesupport/lib/active_support/core_ext/string/unicode.rb
index dd19fe5..844f7de 100644
--- a/activesupport/lib/active_support/core_ext/string/unicode.rb
+++ b/activesupport/lib/active_support/core_ext/string/unicode.rb
@@ -3,6 +3,12 @@ module ActiveSupport #:nodoc:
module String #:nodoc:
# Define methods for handling unicode data.
module Unicode
+ def self.included(base)
+ if '1.8.7'.respond_to?(:chars)
+ base.class_eval { remove_method :chars }
+ end
+ end
+
# +chars+ is a Unicode safe proxy for string methods. It creates and returns an instance of the
# ActiveSupport::Multibyte::Chars class which encapsulates the original string. A Unicode safe version of all
# the String methods are defined on this proxy class. Undefined methods are forwarded to String, so all of the
--- End Message ---
--- Begin Message ---
Source: rails
Source-Version: 2.1.0-1
We believe that the bug you reported is fixed in the latest version of
rails, which is due to be installed in the Debian FTP archive:
rails_2.1.0-1.diff.gz
to pool/main/r/rails/rails_2.1.0-1.diff.gz
rails_2.1.0-1.dsc
to pool/main/r/rails/rails_2.1.0-1.dsc
rails_2.1.0-1_all.deb
to pool/main/r/rails/rails_2.1.0-1_all.deb
rails_2.1.0.orig.tar.gz
to pool/main/r/rails/rails_2.1.0.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam Majer <[EMAIL PROTECTED]> (supplier of updated rails package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 04 Jul 2008 18:00:20 -0500
Source: rails
Binary: rails
Architecture: source all
Version: 2.1.0-1
Distribution: unstable
Urgency: low
Maintainer: Adam Majer <[EMAIL PROTECTED]>
Changed-By: Adam Majer <[EMAIL PROTECTED]>
Description:
rails - MVC ruby based framework geared for web application development
Closes: 475288 484351
Changes:
rails (2.1.0-1) unstable; urgency=low
.
* New upstream release
+ No longer breaks with ruby 1.8.7 (closes: #484351)
* Use libjs-prototype prototype library instead of upstream
bundled (closes: #475288)
* Added Vcs-* and Homepage data to debian/control
* doc-base section changed to 'Programming'
Checksums-Sha1:
7feaa6629ae7d8ceed99b88404d1429cbce61dc9 1132 rails_2.1.0-1.dsc
d6b1d7f9307d7a86de6b36538aca4a4e5ea92195 1953333 rails_2.1.0.orig.tar.gz
a9ce99fe306b0e620a156204182d0f8006336678 11335 rails_2.1.0-1.diff.gz
5dba4740fa3472ab77b2c025063ab4886ecf1e39 2399112 rails_2.1.0-1_all.deb
Checksums-Sha256:
ec6a4b2c1bc808a9c156c3cd088ccf054620aea8521ff8ae6de3b54f9e3c0b22 1132
rails_2.1.0-1.dsc
c573af0c416f7580cb8c37b4e7cbda8ac7bf17569f5e72a3fab3cf524f0659aa 1953333
rails_2.1.0.orig.tar.gz
75d9f7813c008340f84380ee9553b04e48865e0942b6dc372d5fab25d36209cb 11335
rails_2.1.0-1.diff.gz
779e94d2c25616b79579bae82007cf290b8c30ab5b4bb5b3297ac93e44381adb 2399112
rails_2.1.0-1_all.deb
Files:
a390cd3f1e70e964ef5f36408115051d 1132 web optional rails_2.1.0-1.dsc
edcc03e7177e1557653fcb92c90db0d1 1953333 web optional rails_2.1.0.orig.tar.gz
ec2184a5c481abba16d263ada7791f99 11335 web optional rails_2.1.0-1.diff.gz
c8ddd3608fac59e59e2e308ee709e5a8 2399112 web optional rails_2.1.0-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIbrYW73/bNdaAYUURAqJlAJ4/TDuN1ZoHP6r5L2rpqI4sirbgDQCgnhan
QAFc5n9h4RAKBf0mmO4Qnu0=
=V2zG
-----END PGP SIGNATURE-----
--- End Message ---