I have a bash file ~/.myenv that contains environmental variables like:

export EDITOR=vi
export FOO=bar
...

How do I source this file from within a ruby script that starts like?

#!/usr/bin/ruby

I could source the file in bash before running the ruby script, but I
prefer that the script do it, in case the user forgets.

Thx.

-Ken
-- 
Posted via http://www.ruby-forum.com/.