From: John Sayeau Date: 2012-01-22T23:55:50+09:00 Subject: load gems programatically? Hi. I want to write a script to alter a value in a plist. I know how to do it but for the script to run i have to install a plist gem like this: "sudo gem install Plist". and then I get prompted for the password...no problem. I would like to have the script install the gem for me so It can be run on machines that have a freshly installed OS. If I put this line in the script " system("sudo gem install Plist") I get asked for the password. How do I use ruby to enter the password? (the password is always the same in this case) -- Posted via http://www.ruby-forum.com/.