search for: ruby_ev

Displaying 6 results from an estimated 6 matches for "ruby_ev".

Did you mean: rubydev
2013 Aug 21
3
syntax error, unexpected tRPAREN raised in server log
In my server log, I am seeing this error message that is raised in activesupport. 2013-08-12T23:06:08.932580+00:00 app[web.2]: SyntaxError (/app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:374: syntax error, unexpected tRPAREN 2013-08-12T23:06:08.932580+00:00 app[web.2]: 2013-08-12T23:06:08.932580+00:00 app[web.2]: def () value = nil
2010 Jul 16
0
No more filter chain halted messages?
...ed the unexpected redirect, however, since the "filter chain halted as XXX rendered or redirected" message is MIA. I read through the new ActiveSupport::Callbacks code and see that it would be difficult to instrument in this way. Temporarily, I added this: filter = <<-RUBY_EVAL unless halted result = #{@filter} halted = (#{chain.config[:terminator]}) Rails.logger.debug("Filter chain #{@kind.to_s} halted: #{@filter}") if halted end RUBY_EVAL But I know that''s not e...
2005 Sep 11
4
[RFC] The Early Demise of Myriad (Thanks To Ruby Threads)
...ance from libevent and that a pure Ruby implementation would only handle as many connections as select supports (which is sometimes 256)? I''m writing to get people''s feedback on the usefulness of Ruby/Event and Myriad. Take a look at the project: http://www.zedshaw.com/projects/ruby_event/ I''m seriously leaning toward just dumping the whole thing, implementing a simple SCGI setup in pure Ruby since that''s the most useful part, and then working on FastCST again. Tell me if, given this new information, you think Myriad and/or the Ruby/Event bindings would still...
2006 Aug 20
14
http parser
Just thought I''d let you know that your http parser worked great for creating an http protocol handler for Eventmachine. It wouldn''t take that much effort to use Eventmachine for Mongrel, might be worth a shot just to see how it does. A few things would need to be restructered, like HttpRequest where you read the rest of the body, and calling the handler. But it
2007 Feb 26
9
libevent
Francis, I read in the list archives back that a future EventMachine release will support epoll on Linux (i.e., it''s in the trunk). Better still, is there a possibility that EM will rely on libevent so that it will be architecture independent (i.e. epoll on Linux, kqueue on FreeBSD/Mac OS X, /dev/poll on Solaris)? This is how memcached is implemented, and it would be helpful to be able
2007 Dec 09
38
libevent
..., next question, why aren''t you using libevent to handle the i/o multiplex already? If so, EventMachine could support epoll for linux people and kqueue for bsd people, and other interfaces for other os. I was looking for libevent in Ruby and I found this: http://www.zedshaw.com/projects/ruby_event/index.html The project says it is dead due to Ruby thread. But Ruby getting new thread in a few weeks, right? Won''t that fix the problem? Could you use Ruby/Event project as libevent binding for EventMachine with new Ruby? Thank you for answering my questions. ~ Franki -----------...