Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107663 - dev-ruby/rails-0.13.1 - development.log recording blank lines after upgrade
Summary: dev-ruby/rails-0.13.1 - development.log recording blank lines after upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 19:16 UTC by Zed
Modified: 2005-10-20 06:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add log lines (clean_logger-format_message-fix.patch,536 bytes, patch)
2005-10-19 15:24 UTC, Dan Check
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zed 2005-09-29 19:16:57 UTC
I just upgraded to Ruby 1.8.3 and activesupport-1.1.1-r1. My application runs
fine except that the development.log file is now just recording blank lines. I
created a new empty rails application with the rails command and saw the same
thing happening in the development.log file in the new application.

Reproducible: Always
Steps to Reproduce:
1.Upgrade to latest Ruby and Rails packages
2.Create a new rails application, delete index.html, and start webrick
3.Hit any page in the new empty application
4.Observe blank lines being appended to log/development.log

Actual Results:  
Blank lines are recorded in development.log.

Expected Results:  
Normal log file content.

dev-lang/ruby-1.8.3
dev-ruby/activesupport-1.1.1-r1
dev-ruby/ruby-fcgi-0.8.5-r1
dev-ruby/sqlite-ruby-2.2.2
dev-ruby/activerecord-1.11.1
dev-ruby/rubygems-0.8.10
dev-ruby/rake-0.5.3
dev-ruby/actionpack-1.9.1
dev-ruby/ruby-config-0.3.1
dev-ruby/actionmailer-1.0.1
dev-ruby/actionwebservice-0.8.1
dev-ruby/rails-0.13.1
dev-ruby/mysql-ruby-2.5
Comment 1 Daniel Butler 2005-10-07 13:32:24 UTC
I had the same problem once I upgraded to Ruby 1.8.3. It also affected the
test.log file.

I issued the following command and it fixed the problem:

# gem update --source http://gems.rubyonrails.com

Answer "Y" to upgrade all the rails-related packages.

 
Comment 2 Brandon Edens 2005-10-11 11:02:53 UTC
I also experienced this problem. The solution given by Daniel fixed it for me too.
Comment 3 Dan Check 2005-10-19 15:24:18 UTC
Created attachment 71046 [details, diff]
Patch to add log lines

Attached is a patch that corrects the misordering of arguments on the
format_message method.	It also encorporates/obsoletes the prior 1.1.1-r1
patch.

More here: http://dev.rubyonrails.com/ticket/2263
Comment 4 Dan Check 2005-10-19 15:26:57 UTC
sorry -- that's a patch against dev-ruby/activesupport-1.1.1, as that's where
the problem lies.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-10-20 06:11:07 UTC
should be fixed in 1.1.1-r2