Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 107099
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: M. Edward Borasky <znmeb@cesmail.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
as_clean_logger_rb-fixed.patch patch from http://dev.rubyonrails.org/ticket/2245 patch Steffen Strobel 2005-09-26 07:29 0000 449 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107099 depends on: Show dependency tree
Bug 107099 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-24 11:03 0000
I just upgraded to ruby 1.8.3 and now Rails doesn'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': 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'
        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'
        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'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:182:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:181:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'
        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
"resolved upstream". :) The discussion can be found at

http://article.gmane.org/gmane.comp.lang.ruby.rails/23132

------- Comment #1 From Steffen Strobel 2005-09-26 07:29:48 0000 -------
Created an attachment (id=69262) [details]
patch from http://dev.rubyonrails.org/ticket/2245

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

steffen

------- Comment #2 From M. Edward Borasky 2005-09-26 07:41:47 0000 -------
(In reply to comment #1)
> Created an attachment (id=69262) [edit] [details]
> patch from http://dev.rubyonrails.org/ticket/2245
> 
> i attached the patch from http://dev.rubyonrails.org/ticket/2245 !
> using the patch with "patch
> /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb
> as_clean_logger_rb-fixed.patch" fixed the problem for me!
> 
> steffen


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

Speaking of which, how tightly integrated is Portage with the Ruby Gems package
management system? I'm just starting to learn all this Ruby and Rails stuff, and
in distros other than Gentoo, I'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

------- Comment #3 From Steffen Strobel 2005-09-26 08:43:59 0000 -------
hi, i think it'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)  
> (In reply to comment #1)  
> > Created an attachment (id=69262) [edit] [details] [edit]  
> > patch from http://dev.rubyonrails.org/ticket/2245  
> >   
> > i attached the patch from http://dev.rubyonrails.org/ticket/2245 !  
> > using the patch with "patch  
>  
> /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb  
> > as_clean_logger_rb-fixed.patch" fixed the problem for me!  
> >   
> > steffen  
>   
>   
> So is this a Rails bug, a Ruby bug or an ActiveSupport bug? They're all in  
> Portage, right?  
>   
> Speaking of which, how tightly integrated is Portage with the Ruby Gems package  
> management system? I'm just starting to learn all this Ruby and Rails stuff, and  
> in distros other than Gentoo, I'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  
  
  

------- Comment #4 From Caleb Tennis 2005-09-26 08:59:33 0000 -------
Fixed as activesupport-1.1.1-r1 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug