Hacker News new | ask | show | jobs
by lusis 5538 days ago
If anyone is curious, I did a post about plain sinatra apps and some of the gotchas with Cloud Foundry here:

http://lusislog.blogspot.com/2011/04/sinatra-noah-and-cloudf...

Sinatra support is pretty basic at this point but it promises to get better over time. The code has several TODOs related to sinatra and node.

1 comments

The thing that I don't understand is that the problem of getting frameworks to work consistently with web servers has already been solved by the Rack project. For the life of me, I can't understand why CF doesn't simply look for a config.ru file and pass it to Thin and be done with it.
We plan on doing that, appreciate the feedback.
Derek,

Do you guys have a timeline on that? As I said, I don't mind sitting down and trying to knock it out but schedule wise it won't be in the immediate future. If you guys are already on it (as in someone is currently working on it), I can just wait till the first feature branch on github and go from there.

Yeah I was a bit confused by this as well. I haven't looked at the rails code in vcap yet but you're right in stating that this is a solved problem. I think they were going for something a little more generic for code reuse reasons? I plan on sitting down with the code in earnest and helping flush out the rack/sinatra stuff to be better tuned for that use case.