1

I'm using Ruby EventMachine to build a realtime web application, so far everything works well, but I would like to add a feature which Node.js has a package for and Ruby does not (node-canvas).

I thought of replacing the entire app with Node.js, but I do prefer writing Ruby code over JavaScript. Furthermore, I'm totally new to Node.js, and although the web app code is not extremely complex, it will require time to rewrite it entirely from scratch with Node.

Is there an easy way that my Ruby code can interact with the Node.js module that I'll build specifically for this feature, maybe through piping or whatnot?

1 Answer 1

1

Ended up answering my own question, going to do it using Redis pub-sub capabilities.

Thanks!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.