1

I know it sounds cray, cray, but I want to use a Ruby Gem that doesn't have an analog in Node. Anyway for me to include a Gem inside Node.js?

1
  • What gem is this by the way? Commented May 11, 2014 at 13:45

2 Answers 2

3

Two options:

The second option is crazy and most likely will not work. The first is sane and useable. There are a lot of cases when you have to something like this, especially with java and python libraries. Of course, you can use some other method for IPC like pipes, TCP, 0mq etc, but arguments/stdio is the most simple one.

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

Comments

1

There is no way to include a Ruby Gem inside node.js unless you can somehow convert it to javascript first (via some tool or manually).

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.