+ 7

How do I insert a Ruby Script in an HTML code

Do I need a gem? Or if not can I do it right here on the code playground? if yes then how? Thank you in advanced :D

22nd Feb 2017, 1:20 PM
MrCoder
MrCoder - avatar
2 Answers
+ 6
@Huan Wang Oh hey there! ^.^ I made my little Linux OS myself not literally Linux but I've added Linux-like things, and sure I'll help you with your projects even if its very hard but if its on Ruby or the one needing any help I'll do it :D, by the way thank you for the answer ^.^
23rd Feb 2017, 5:48 AM
MrCoder
MrCoder - avatar
+ 1
There are many gems may help you, or if you use ruby on rails, it will automatically install all you need. when we want to insert ruby in html, the common way is using erb template with <%=...%>, it can turn your script into html. By the way, I'm the one who get ruby certificate in two days and you said you can teach me.^O^. I'm experienced in linux server and shell script or maybe python script include. But these days I've been addicted in ruby. Can you guide me to do some projects? Belive me, I always learn program very fast.
22nd Feb 2017, 3:56 PM
Steven Wang
Steven Wang - avatar