From: gga Date: 2005-05-14T01:05:32+09:00 Subject: Re: Nuby: 'importing shell script variables' eval/proc/binding The easiest and most correct solution is to a) run the appropiate shell for your script, If using #! notation, running the script itself should do the trick. b) rely on the command called "env" with no parameters to list all the variables as key -> value pairs from within your shell script, after the script is run. c) capture that output of b) to a pipe or file that your ruby script would then read in and parse out.