fuzed icon indicating copy to clipboard operation
fuzed copied to clipboard

rails app call gives "no block given"

Open kevwil opened this issue 15 years ago • 0 comments

Running Ruby 1.8.6 (Mac), Erlang R13B01 (5.7.2), Rake 0.8.7, Rack 1.0.0, erlectricity 1.0.1, a Rails 2.3.4 app, and fuzed from this repository's master branch (or trunk).

I ran "curl -v http://localhost:8080/people.xml" to call a RESTful controller call and get XML back, and it returned this:

500 Internal Error

no block given

  • Closing connection #0 ./bin/../rlibs/fuzed_handler.rb:124:in each_line'./bin/../rlibs/fuzed_handler.rb:124:inservice'/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/whiny_nil.rb:55:in inject'./bin/../rlibs/fuzed_handler.rb:124:ineach'./bin/../rlibs/fuzed_handler.rb:124:in inject'./bin/../rlibs/fuzed_handler.rb:124:inservice'bin/../rlibs/rails_node.rb:38:in handle_proxy_handle_request'./bin/../rlibs/chassis.rb:34:insend'./bin/../rlibs/chassis.rb:34:in handle_handle_request'./bin/../rlibs/chassis.rb:149:insend'./bin/../rlibs/chassis.rb:149:in dispatch'./bin/../rlibs/chassis.rb:205:instart'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/matcher.rb:14:in call'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/matcher.rb:14:inrun'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/receiver.rb:22:in process'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/receiver.rb:38:inrun'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/receiver.rb:34:in loop'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/receiver.rb:34:inrun'/Library/Ruby/Gems/1.8/gems/erlectricity-1.0.1/lib/erlectricity/receiver.rb:67:in receive'./bin/../rlibs/chassis.rb:200:instart'./bin/../rlibs/chassis.rb:279:in `start'./bin/../rlibs/chassis.rb:383bin/../rlibs/rails_node.rb:43

kevwil avatar Sep 24 '09 15:09 kevwil