From: Usman Akram Date: 2008-07-21T19:00:30+09:00 Subject: Run command after Prompting from User... Hi, i am new in Ruby, and i got a problem, that is when i run the system command.. i want to add users to the Linux OS, so for that i have to prompt the username from the user, and i store that username in a variable, Now please tell me that how can i use that variable in the system() function of Ruby... i do this but not working :-( user_name = gets system ('adduser -m $user_name') so please any body tell me that how can i run the system command, by using variable in the system() function....????? from Name: Lucky Email: ajaonchat@yahoo.com -- Posted via http://www.ruby-forum.com/.