PDA

View Full Version : ruby in user mode



munna_dude
5th February 2007, 10:57 AM
hi all
how can i run ruby in user mode

(login has user not in root)

please show me the way

thank you

Mat
5th February 2007, 01:22 PM
?what exactly do you mean by user mode?

basically, just log in as user (ie. anyone who's not root) and type
$ ruby (w/o the dollar sign)
for an interactive ruby "session"
or
$ ruby somescript.rb
to start the ruby script somescript.rb


if that's not what you meant, be more specific :)

Mat