Ok just realized that
its works if i try to run the code from GUI interface!!
then its open Fiefox browser

but i am trying to use this from Terminal .

i have also install Xvfb


any help for terminal ??

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