Ruby as a scripting language for web server

Posted by Olivier Lalonde on Stack Overflow See other posts from Stack Overflow or by Olivier Lalonde
Published on 2010-04-29T18:52:40Z Indexed on 2010/04/29 18:57 UTC
Read the original article Hit count: 326

Filed under:
|

Is it possible to use Ruby as a scripting language with a HTTP server ? I'd like to be able to simply put some Ruby files in a web directory and be able to execute them from my browser - just like I did with PHP.

I have absolutely nothing against frameworks such as RoR, but I was told that I should first learn Ruby and only then move on with higher level frameworks. Of course, I could write some Ruby scripts and run them in the console, but I would prefer getting the input/output from my browser :)

Is that possible at all ? Otherwise, how hard would it be for me to build a quick and simple web framework ?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about web-development