TK for web application

hello:
Is TK (GUI for ruby)suitable for rails “web” application?It seems that
TK is for desktop application.
If i want to use TK in “rails web application”,where should i put my
files containing TK codes in the rails directory?
thank you!