+ 7

What is the best way to make Ruby appear in your Html site, coding pls

Sorry Guys I forgot to specify... I mean like adding JavaScript to a webpage you add script tags and for Ruby? I know there is rt rp and ruby but none work...

11th May 2017, 1:40 PM
Iwan
Iwan - avatar
3 Respuestas
+ 6
You cannot run Ruby script inside your Html code, as you can do with JS: with Ruby, you only can do the equivalent of Php, on server side ^^ ( However, I don't know what's "rt rp" wich don't work ^^ )
12th May 2017, 12:20 AM
visph
visph - avatar
+ 4
Do you mean 'appear' as displaying some Ruby source code? <code>Ruby code sample</code> ... or generate Html content with Ruby?
11th May 2017, 2:18 PM
visph
visph - avatar
0
If you mean doing scripts that DO their work inside the website host, you could check out Ruby on Rails
12th May 2017, 7:32 AM
spcan
spcan - avatar