Ruby 1.9 webservers?

D

David Masover

The combination I'm trying to make work is Ruby1.9 + Ramaze + Rack? + ?

I'm told there are some issues with Rack, so that might be the problem.
Mongrel won't install at all (it wants fastthread).

Ebb is the strangest -- it keeps Ruby at 100% CPU, but seems to work (Ramaze
responds as I'd expect it to.) Thin and Webrick keep Ruby at 3-5% CPU, but
also seem to work. Keep in mind this is with pretty much the "Hello World"
Ramaze app, and without any requests -- whatever it is seems to be entirely
external to the app.

I'm running 1.9.0 (2007-12-25, rev 14709) -- could that be the issue? Is there
some "hello world" Rack app I could use to make sure it's not a Ramaze issue?
And is there some combination of framework / webserver / 1.9 version which
works?

Yes, I know it wouldn't be production ready, and would very likely be entirely
unstable. This is just an experiment, though; it will never have more than
ten users.
 
D

David Masover

Ebb is the strangest -- it keeps Ruby at 100% CPU, but seems to work (Ramaze
responds as I'd expect it to.) Thin and Webrick keep Ruby at 3-5% CPU, but
also seem to work.

I have to amend this -- the 3-5% was apparently caused by Ramaze's somewhat
zealous reloading scheme.

However, even with this off, Ebb is still at 100%. I suppose I should file a
bug against Ebb, then...
 
J

James Dinkel

matu said:
i think something in your environment is broken.

Considering that Ruby 1.9.0-0 is very much a beta, if not alpha, quality
release, I would say a bug is not remotely out of the question.
However, there are newer versions in the 1.9.0 line. I would suggest
starting over with ruby 1.9.0-3 and see how things go. If you still
have issues, then you might consider filing a bug report, but I don't
really know if I would file against ebb or ruby.

By the way, you probably won't be able to find a package for 1.9.0-3.
You'll probably have to compile it from source.

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] Ramaze 2009.06 0
[ANN] Ramaze 2009.07 0
Ruby 1.9 and rdoc/usage confusion 0
[ANN] Ramaze 0.3.0 2
Ruby 1.8 vs 1.9 83
[ANN] Ramaze 0.3.5 1
Ruby for web without rails 10
debugger problem in 1.9? 1

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top