New to Rails 3? Check out the Ruby on Rails 3 Tutorial book and screencast.

A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more.

How to use Rails on Google App Engine (Thanks to JRuby)

In JRuby, News

appengine_lowres.jpg.gifTwo days ago, Google announced the release of Java support on its App Engine service (a system that allows you to run Web apps on Google's infrastructure). And.. what runs on Java that we care about? JRuby!

It took JRuby guru Ola Bini just a day to work out how to get JRuby and Rails working on App Engine using the Java support. So, in a round about way, App Engine now supports Ruby too..

If you're not already familiar with getting a Rails app running on JRuby, it's not going to be a walk in the park, but even experienced JRubyists might need to do a double-take, as you're not going to be using ActiveRecord and the authentication system (using Google's user service) is a different kettle of fish.

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

7 Comment Responses to “How to use Rails on Google App Engine (Thanks to JRuby)”

  1. #1
    Oracle Says:

    Rails is so last year. Scala is the new Ruby so liftweb is the new Rails. :D

  2. #2
    Charles Oliver Nutter Says:

    FYI, there's a new project in the works to simplify the whole GAE process and make deployment a one-shot, push-button affair. Should be a beautiful thing!

    And BTW, Oracle: Liftweb doesn't run on GAE because it needs to launch native threads for Actors. I believe JRuby is the only non-Java language with working web frameworks on GAE right now. Rails, Merb, Sinatra, and Ramaze have all been deployed successfully.

  3. #3
    Hendrik Volkmer Says:

    Charles: Ioke does work, too: http://blog.hendrikvolkmer.de/2009/4/8/running-ikanserve-on-google-app-engine Although not all the time. But this seems to be a problem with GAE

  4. #4
    Hubert Łępicki Says:

    Charles, I think it's changed now, since you can run Jython and even PHP implementation (written in Java) on top of GAE.

  5. #5
    Alan Kennedy Says:

    You can definitely run jython on AppEngine

    http://jython.xhaus.com/how-to-run-jython-wsgi-applications-on-google-appengine-with-modjy/

  6. #6
    sam Says:

    Thanks for the info Charles,
    I am very interested in this new project that simplifies rails on GAE. That would be a great combination of power and simplicity. Can you give more details about this project please?

  7. #7
    Andrew Says:

    Thanks Peter, again, for being informative. Been reading some posts and i like the direct say-it-as-it-is, clear summary style. i.e, in this post, a newbie know upfront what to expect with rails on google app engine. And on the retrospectiva post, there was a one-liner installation, sweet! Simple :)

Leave a Reply