Messagebox on client side

Hii all ,
Am running a rails application and displaying a messagebox
since server is Running on my machine Messagebox is generating only my
machine an i when try to run my application from other machine this box
is still generating on my machine i would like when i run my application
from machine messagebox should run on that machine itself