Has anyone tried to embed rails into a Cocoa app? I have got this
working to a very primitive point using RubyCocoa. After about half an
hour of playing I was able to get WEBrick to serve the rails starter
page inside of a Cocoa app, but that is as far as I have got.
I have an idea for a client/server app where the server is a Cocoa
application that embeds WEBrick (or another server solution possibly)
that serves a rails app that interfaces with the running Cocoa
application via the RubyCocoa bridge.
Is this naive? It seems to me that it should be possible, but I am
fairly new to Rails and semi-new to Ruby. I am also kind of looking for
some reassurance that this isn’t a totally ridiculous idea before I
invest all my time in it.
Thanks for any input.