Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

send_file results in 0 byte download after upgrading to Ruby 1.9.2-p136

#6248

Using send_file the file sent is blank. I have verified that the file does exist, is readable, and does contain content. This exact code was working a few days ago and the only thing that I have changed is the Ruby version.

Any idea what's gone on? I don't want more downtime as I literally downgrade my Ruby install and reinstall Passenger...

Working:

Ruby 1.9.2-p0
Rails 3.0.3
Passenger 3.0.2

Broken:

Ruby 1.9.2-p136
Rails 3.0.3
Passenger 3.0.2

Reported by rk · January 4th, 2011 @ 07:05 PM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. rails
    rails
    • Tag changed from ruby 1.9.2, ruby1.9.2, ruby1.9.2-p136, send_file to ruby 192, ruby192, ruby192-p136, send_file
    • State changed from new to open

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    April 5th, 2011 @ 01:00 AM

  2. rails
    rails
    • State changed from open to stale

    April 5th, 2011 @ 01:00 AM