Where to save ruby file?
Posted: Tue Feb 13, 2007 8:25 am
Hi, I am new guy about ruby.
I download ruby and install in my computer, right now I can run ruby in Terminal window
I getting the correct output for this file. If i type ruby -v, its also work. But I don't know how to view this file in my web browser. When point this file in my browser its just asked me to download that file. where I should save it in order to run it in web browser.
I tried like this
My file new.rb is now in /root/test/public/
Thanks with regards,
Veeraa
I download ruby and install in my computer, right now I can run ruby in Terminal window
Code: Select all
[root@dhcppc0 public]# ruby new.rbI tried like this
Code: Select all
localhost://new.rbThanks with regards,
Veeraa