"merb" gem add as dependency datamapper components, which includes
do_sqlite3. At this time do_sqlite3 has no Java implementation.
I think the datamapper dependency of merb should be removed and leave
merb alone. After all, some users will like to use ActiveRecord
instead.
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
The merb gem is just merb-core, merb-more and datamapper. So by
installing merb-core and merb-more directly you get around the
problem.
An datamapper defines do_sqlite3 as dependency, which end with this situation.
So again -- merb add datamapper as dependency, isn't the right statement?
At least once you've googled the solution (i.e. run as root) to the
glassfish gem blowing up with "the domain directory is not writable"
when started, which is a bug that goes back to April.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4606
Something else:
Has anyone done any benchmarks? A simple hello world app is very slow
on my machine; about 1/5 of the req/s compared to MRI + Thin. But I'm
testing on 32-bit OS X which may not be the best environment for Java.
It will "just work" if you have write permission to the directory
where the glassfish gem resides, which for many real world deployments
are not so.
> Glassfish is in fact quite slow for a Hello World. However, it is capable of
> dealing with very high concurrency (I was able to throw as many concurrent
> requests as ab was able to handle), while thin dies at around 100ish.
> Additionally, jruby's threading model should be much better for real (i.e.
> non-hello-world) situations.
And these are the reasons why we probably will end up deploying our
Merb projects on JRuby. But there will be many tests and benchmarks
before we take that decision.
Tonight wycats and I had a talk with the jRuby guys about getting a dm
driver working with jRuby. In the meantime, or if you are not
interesting in DM, activerecord works just fine.
Matt
Sent from my iPhone
You can't generate a normal merb app with jRuby because of datamaper.
You have to do merb-gen core app-name
Tonight wycats and I had a talk with the jRuby guys about getting a dm
driver working with jRuby.
In the meantime, or if you are not
interesting in DM, activerecord works just fine.