logo       

ActionPack CGI and Ruby 1.8.5: msg#00259

lang.ruby.rails.core

Subject: ActionPack CGI and Ruby 1.8.5


I know 1.8.5 isn't officially sanctioned but something has changed in
it that is breaking the ActionPack unit tests for cgi.rb. Wasn't able
to trace if it's something in Rails that needs adjusted or if cgi.rb
picked up a bug.

The first run is the default OS X ruby 1.8.2, the second run is ruby
1.8.5


rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
test/controller/cgi_test.rb
Loaded suite test/controller/cgi_test
Started
..........................................
Finished in 0.046769 seconds.

42 tests, 98 assertions, 0 failures, 0 errors
rsilvas-computer:/srv/rails/trunk/actionpack rsilva$
/usr/local/bin/ruby test/controller/cgi_test.rb
Loaded suite test/controller/cgi_test
Started
..............................E.....E.....
Finished in 0.042332 seconds.

1) Error:
test_binary_file(MultipartCGITest):
EOFError: bad boundary end of body part
/usr/local/lib/ruby/1.8/cgi.rb:1067:in `read_multipart'

./test/controller/../../lib/action_controller/cgi_ext/raw_post_data_fix.rb:38:in
`initialize_query'
/usr/local/lib/ruby/1.8/cgi.rb:2273:in `initialize'
test/controller/cgi_test.rb:358:in `new'
test/controller/cgi_test.rb:358:in `process'
test/controller/cgi_test.rb:355:in `open'
test/controller/cgi_test.rb:355:in `process'
test/controller/cgi_test.rb:317:in `test_binary_file'

2) Error:
test_binary_file(PutMultipartCGITest):
EOFError: bad boundary end of body part
/usr/local/lib/ruby/1.8/cgi.rb:1067:in `read_multipart'

./test/controller/../../lib/action_controller/cgi_ext/raw_post_data_fix.rb:38:in
`initialize_query'
/usr/local/lib/ruby/1.8/cgi.rb:2273:in `initialize'
test/controller/cgi_test.rb:358:in `new'
test/controller/cgi_test.rb:358:in `process'
test/controller/cgi_test.rb:355:in `open'
test/controller/cgi_test.rb:355:in `process'
test/controller/cgi_test.rb:317:in `test_binary_file'

42 tests, 78 assertions, 0 failures, 2 errors


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise