rjr icon indicating copy to clipboard operation
rjr copied to clipboard

RuntimeError: rjr node server is missing a dependency - cannot invoke listen

Open askuratovsky opened this issue 8 years ago • 3 comments

RuntimeError: rjr node server is missing a dependency - cannot invoke listen

This exception appears when I execute code from your examples

require 'rjr/nodes/ws'

server = RJR::Nodes::WS.new :host => 'localhost', :port => 9789, :node_id => "server" server.dispatcher.handle('method') { |I| puts "server: #{I}" @rjr_callback.notify "callback", i.downcase "#{i}".upcase } server.listen

askuratovsky avatar Nov 09 '16 18:11 askuratovsky

@askuratovsky Did you find a solution to this? I am having the same issue.

amedeiros avatar May 01 '17 18:05 amedeiros

Have the same issue. Code copy from example

WiRight avatar Dec 25 '19 07:12 WiRight

I found a solution. In README i found a rjr.gemspec and install gems written in description

gem install em-http-request gem install eventmachine_httpserver

And it work normally!

Hopefully it helps!

I think it may be closed

WiRight avatar Dec 25 '19 07:12 WiRight