Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I create ruby (or maybe not ruby, no difference) script in TextMate which produces html, is there an easy way to preview it using combination like ⌘R or using Web Preview?

Now I found two ways to preview html: using bcatruby script.rb | bcat, but I need to close browser tab every time and rerun script, or running this script on a web server, but this way is also not easy one.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.