Ah, ok, interesting. Ruby for the backend, Javascript + HTML + CSS for the frontend should be doable without too much hassle. You could use canvas if you want animated cards and such.
Canvas is the component in HTML5 that lets you do pretty graphics in a web browser. There's a nice tutorial here: https://developer.mozilla.org/en/canvas_tutorial