Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm having a great time live-reloading JS with fb-flo in my Rails & batman.js project. I want to move my code into a Ruby gem, but I don't know what to do.

To run the flo server, I'll need to require("fb-flo"). If this was a node module, I'd just make sure to put my dependencies in package.json. But how can I require fb-flo (and its dependencies) in a Ruby gem?

Or, should I just install the dependencies and include them in the gem's code?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.