Topic: 2-way chat application in ruby on rails

hi
i want write a 2-way chat application in ROR for use the my site. and i used the juggernaut plugin for this porpuse.
but i get an error that "internal server error".
plz hlp me to write a 2-way chat application,either juggernaut pluin or other each way.
thanks a lot