<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>107099</bug_id>
          
          <creation_ts>2005-09-24 11:03 0000</creation_ts>
          <short_desc>upgrade to ruby 1.8.3 causes an error in Rails</short_desc>
          <delta_ts>2005-09-26 08:59:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2005.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>znmeb@cesmail.net</reporter>
          <assigned_to>ruby@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>znmeb@cesmail.net</who>
            <bug_when>2005-09-24 11:03:20 0000</bug_when>
            <thetext>I just upgraded to ruby 1.8.3 and now Rails doesn&apos;t work:

znmeb@DreamGate ~ $ rails demo
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in
`remove_const&apos;: constant Logger::Format not defined (NameError)
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require&apos;
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:31
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require&apos;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record.rb:29
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require&apos;
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:182:in `activate&apos;
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:181:in `activate&apos;
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate&apos;
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate&apos;
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options&apos;
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem&apos;
        from /usr/bin/rails:17
znmeb@DreamGate ~ $ 
------------------------------------------------------------------------------
This is in fact a known upstream problem, which I just found myself and an hour
or so later saw described on the Rails mailing list. So go ahead and mark this
&quot;resolved upstream&quot;. :) The discussion can be found at

http://article.gmane.org/gmane.comp.lang.ruby.rails/23132</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steffen.strobel@onlinehome.de</who>
            <bug_when>2005-09-26 07:29:48 0000</bug_when>
            <thetext>Created an attachment (id=69262)
patch from http://dev.rubyonrails.org/ticket/2245

i attached the patch from http://dev.rubyonrails.org/ticket/2245 !
using the patch with &quot;patch
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb
as_clean_logger_rb-fixed.patch&quot; fixed the problem for me!

steffen</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>znmeb@cesmail.net</who>
            <bug_when>2005-09-26 07:41:47 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Created an attachment (id=69262) [edit]
&gt; patch from http://dev.rubyonrails.org/ticket/2245
&gt; 
&gt; i attached the patch from http://dev.rubyonrails.org/ticket/2245 !
&gt; using the patch with &quot;patch
&gt; /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb
&gt; as_clean_logger_rb-fixed.patch&quot; fixed the problem for me!
&gt; 
&gt; steffen


So is this a Rails bug, a Ruby bug or an ActiveSupport bug? They&apos;re all in
Portage, right?

Speaking of which, how tightly integrated is Portage with the Ruby Gems package
management system? I&apos;m just starting to learn all this Ruby and Rails stuff, and
in distros other than Gentoo, I&apos;ve pretty much had to build Ruby from source,
install Ruby Gems and install everything as a Gem, rather than just being able
to go out and install an RPM or a DEB. I like the Gentoo way better. :)

emerge rails</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steffen.strobel@onlinehome.de</who>
            <bug_when>2005-09-26 08:43:59 0000</bug_when>
            <thetext>hi, i think it&apos;s a activesupport bug!  
you can also see this on the patch 
path:  /usr/lib/ruby/gems/1.8/gems/ACTIVE_SUPPORT-1.1.1/lib/ACTIVE_SUPPORT/clean_logger.rb 
 
steffen 
 
(In reply to comment #2)  
&gt; (In reply to comment #1)  
&gt; &gt; Created an attachment (id=69262) [edit] [edit]  
&gt; &gt; patch from http://dev.rubyonrails.org/ticket/2245  
&gt; &gt;   
&gt; &gt; i attached the patch from http://dev.rubyonrails.org/ticket/2245 !  
&gt; &gt; using the patch with &quot;patch  
&gt;  
&gt; /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb  
&gt; &gt; as_clean_logger_rb-fixed.patch&quot; fixed the problem for me!  
&gt; &gt;   
&gt; &gt; steffen  
&gt;   
&gt;   
&gt; So is this a Rails bug, a Ruby bug or an ActiveSupport bug? They&apos;re all in  
&gt; Portage, right?  
&gt;   
&gt; Speaking of which, how tightly integrated is Portage with the Ruby Gems package  
&gt; management system? I&apos;m just starting to learn all this Ruby and Rails stuff, and  
&gt; in distros other than Gentoo, I&apos;ve pretty much had to build Ruby from source,  
&gt; install Ruby Gems and install everything as a Gem, rather than just being able  
&gt; to go out and install an RPM or a DEB. I like the Gentoo way better. :)  
&gt;   
&gt; emerge rails  
  
  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2005-09-26 08:59:33 0000</bug_when>
            <thetext>Fixed as activesupport-1.1.1-r1 </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>69262</attachid>
            <date>2005-09-26 07:29 0000</date>
            <desc>patch from http://dev.rubyonrails.org/ticket/2245</desc>
            <filename>as_clean_logger_rb-fixed.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGFjdGl2ZXN1cHBvcnQvbGliL2FjdGl2ZV9zdXBwb3J0L2NsZWFuX2xvZ2dlci5yYi5vcmln
CTIwMDUtMDktMjEgMDA6MzE6MDguMDAwMDAwMDAwIC0wNzAwCisrKyBhY3RpdmVzdXBwb3J0L2xp
Yi9hY3RpdmVfc3VwcG9ydC9jbGVhbl9sb2dnZXIucmIJMjAwNS0wOS0yMSAwMDo0NTozNi4wMDAw
MDAwMDAgLTA3MDAKQEAgLTEwLDcgKzEwLDkgQEAKICAgZW5kCiAKICAgcHJpdmF0ZQotICAgIHJl
bW92ZV9jb25zdCAiRm9ybWF0IgorICAgIGlmIGNvbnN0X2RlZmluZWQ/KDpGb3JtYXQpICMgTm90
IGRlZmluZWQgaW4gUnVieSAxLjguMworICAgICAgcmVtb3ZlX2NvbnN0ICJGb3JtYXQiCisgICAg
ZW5kCiAgICAgRm9ybWF0ID0gIiVzXG4iCiAgICAgZGVmIGZvcm1hdF9tZXNzYWdlKHNldmVyaXR5
LCB0aW1lc3RhbXAsIG1zZywgcHJvZ25hbWUpCiAgICAgICBGb3JtYXQgJSBbbXNnXQo=
</data>        

          </attachment>
    </bug>

</bugzilla>