InfoQ

News

Follow the Progress of JRuby on Rails

Posted by Obie Fernandez on Nov 28, 2006 11:17 AM

Community
Ruby
Topics
JRuby
Tags
Rails ,
Testing

Charles Nutter has been keeping an updated page of Rails test run results that shows progress towards the goal of a fully-functioning JRuby on Rails. Members of the JRuby team have already demonstrated Rails applications working on JRuby, and even ActiveRecord talking to databases via JDBC. To be clear, what we're talking about here is the effort to get the sizable Rails test suite running at 100% passing.

According to Charles' recent comments to the rails-core mailing list, Rails components ActionPack, ActiveSupport, and ActionMailer are nearly 100%. Other parts of Rails still have some work left:

ActiveRecord is probably 2/3 working (but the failures include tests for Oracle, PgSql, Firebird...), and most of what we'd expect to work in Railties works pretty well. I haven't primed the pump to run ActionWebService tests yet.

The JRuby team has been targeting Rails 1.1.6 support, but will begin testing Rails 1.2 soon:

I wouldn't imagine the compatibility profile will change that much by switching versions; we're mostly talking about pure Ruby here. Note that the use of SQLite in many places in the test causes quite a bit of trouble for JRuby since SQLite support on Java is minimal at best. The ability to swap out SQLite for something equivalently simple (DBI or JDBC with Derby/JavaDB, perhaps?) would make it easy to run those tests.

Charles and the JRuby team are still looking for additional help with this worthy effort:

Of course, if any of you are Java devs and would like to help us get things running, we'd certainly appreciate it. I've debugged and traced through enough Rails code to know that having more expert folks contributing would really help.
contributing by Alex Popescu Posted Nov 28, 2006 5:12 PM
  1. Back to top

    contributing

    Nov 28, 2006 5:12 PM by Alex Popescu

    I would definitely like to hear what are the fields JRuby needs help. I have always thought that oss projects clearly stating their needs will have better chances to find their resources (and I am not talking about the always recommended approach: get involved in the ml, submit bugs, submit patches for the bugs, etc.). ./alex -- :Architect of InfoQ.com: .w( the_mindstorm )p. Co-founder of InfoQ.com

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.