rjr
rjr copied to clipboard
RuntimeError: rjr node server is missing a dependency - cannot invoke listen
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 Did you find a solution to this? I am having the same issue.
Have the same issue. Code copy from example
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