ruby - How to set the $Display variable for website application? -


i running tk8.6 ruby 1.9.1 on solaris box (with no display, console). have tk , tcl configured , installed. website , running , runs other applications fine. thing missing want button on website calculation , prompt user tk window ruby.

the error message saying that...

 tcltklib: fail tk_init(). no display name , no $display environment variable (runtimeerror) 

i know have change $display variable, what? different display each time different user clicks on button respective browsers...

you cannot use tk in web application. period.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -