News for hackers. Stuff that matters.
Re:Ruby on Rails on Google App Engine by knowtheory on Monday May 04, 2009 @05:29PM (#593118)
This post is a bit of a bait & switch.

Thanks to JRuby-Rack you can run any rack compliant application framework on Google App Engine (sinatra, merb, rails).

However, ActiveRecord (Rails modelling component) can't actually interface with the Google App Engine datastore directly.

There are tools that have been built by some guys at google to wrap the Java API, but i don't see these instructions including them.

Re:Ruby on Rails on Google App Engine by lyime on Tuesday May 05, 2009 @01:10AM (#593679)
If someone is working on this, It can be huge. Otherwise rails on GAE is a deal breaker. Although it is good to see as a first step :)
Re:Ruby on Rails on Google App Engine by knowtheory on Tuesday May 05, 2009 @12:12PM (#594295)
Yes, someone is working on this ;)

A lot of this will be presented at RailsConf tomorrow.

Ribrdb, is a googler who works on AppEngine, and has written Ruby wrappers for a a number of the pieces of the Java AppEngine API. You can find his work at http://code.google.com/p/appengine-jruby/

I'm working on some integration & environmental tools for developing locally w/ the AppEngine called Reggae (which i won't link since i don't have anything compelling to show yet).

Re:Ruby on Rails on Google App Engine by jamesbritt on Tuesday May 05, 2009 @05:25PM (#594772)
It does raise the question of what it means to call something a 'Rails app', especially if AR is considered the heart of Rails.

Also, given the restrictions imposed by GAE, Rails may not even be a good choice. Sinatra or Innate/Ramaze (once jruby-rack pulls in Rack 1.0 code) seem much better options, being cleaner and lighter.

Re:Ruby on Rails on Google App Engine by smileplease on Monday May 04, 2009 @04:20PM (#592992)
Re:Ruby on Rails on Google App Engine by DocSavage on Monday May 04, 2009 @05:17PM (#593097)
Google App Engine accepts Java bytecode and even supports run time loading of bytecode.

http://googleappengine.blogspot.com/2009/04/many-languages-a...

So even though there are limitations (e.g., single thread), the following languages can run on App Engine through the Java back door: PHP, Clojure, Groovy, JavaScript, Python, Ruby, Scala, Scheme, Beanshell, ...

Here's a wiki page with some info: http://groups.google.com/group/google-appengine-java/web/wil...

Also note that it's possible to run multiple languages against one datastore by using the built-in versioning system.

Re:Ruby on Rails on Google App Engine by tlrobinson on Monday May 04, 2009 @04:04PM (#592959)
JavaScript on GAE: http://jack-js.appspot.com/

All it took was a nearly trivial servlet hooking into Rhino: http://github.com/tlrobinson/jack-servlet

Re:Ruby on Rails on Google App Engine by csbartus on Monday May 04, 2009 @04:56PM (#593057)
Note: It runs only on JRuby
Re:Ruby on Rails on Google App Engine by ZeroGravitas on Tuesday May 05, 2009 @06:36AM (#593896)
And this is a big deal because while Rails might run on JRuby (even outside of Google App Engine) not many people do in practice because the various libraries and gems haven't caught up yet.
Re:Ruby on Rails on Google App Engine by benreesman on Tuesday May 05, 2009 @02:22AM (#593739)
Good.