I started to learn ruby programming language,
i want to output my ruby scripts in my browser, i’m not talkin about ruby-on-rails framework,
i just need to output only and only ruby scripts to my browser, i followed this tutorial
http://railsforum.com/viewtopic.php?id=34
but through this tutorial i can output ruby-on-rails scripts to my browser,
but this is not what i need,
i just need to output ruby script, NOT RAILS. do you know a way to accomplish this task? thanks.
I started to learn ruby programming language, i want to output my ruby scripts
Share
Bind a web server to port 3000, then either use CGI or use something such as Passenger to serve a Rack application.