On 07/12/2011, at 4:40 PM, Mike Williams wrote: > We seldom used JRuby in development environments, though, mainly because of > the VM startup time. This led to a situation where development and most of > the automated testing ran on a slightly different stacks. Most of the time > that worked out okay, but when there were compatibility problems, they were a > real pig to track down and fix. To be fair, many of these problems were > caused by differing RDBMS engines (MS-SQL vs SQLite), rather than anything > specific to JRuby.
Every time I hear something like this (different environments) I remember a DBA I used to work with. He said that you should always run the same environment everywhere. And I agree with him more and more. That's fine to use different DBs for very simple, basic stuff. But the minute you want to write SQL, it's better to stick with the target DB. Anyway, thanks for sharing this. Much appreciated! > The situation reached breaking point when we started doing a lot of work with > XML and HTML, and became heavily dependent on Nokogiri, which produced a > constant stream of issues on JRuby. In the end, LP yanked out MS-SQL in > favour of PostgreSQL, and reverted to MRI. So again gems compatibility... Hmm. Do you know how much it has changed since? > In retrospect, I wish I'd pushed harder, and earlier, to use a different (and > non-proprietary) database, and stuck with MRI. Good point. Would you consider neo4j proprietary though? > As Michael P said, once you wander off the conventional path (Rails on MRI, > with MySQL or PostgreSQL behind) you're more likely to hit issues that other > people haven't ... or at least issues that other people haven't already > solved. Having said that, you're halfway there already, by choosing to use > Neo4J, so why not go all out? :-) That's true. I'm definitely going to have some issues there. One thing that keeps me warm is that neo4j community seems to be pretty active. And neo4j devs respond amazingly quickly. So fingers crossed :) -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
