Friday, April 17, 2009

limited appengine java compatibility....

I read through the sinatra jruby setup instructions for Google App Engine thinking it was too good to be true...

Ran into a few to be expected snags with some gems not being jruby compatible
for example:

The current version of Hpricot (0.7) does not yet work with JRuby. Previous versions (0.6.x) should work with JRuby. As such, to use Hpricot with JRuby 1.2+ you will need to force the appropriate version when installing:

jruby -S gem install hpricot --version '~>0.6.1'

Easy enough lets keep going... then ... poof!

Error for /
java.lang.NoClassDefFoundError: is a restricted class. Please see the Google App Engine developer's guide for more details.

Looks like for security reasons many java classes are off limits on GAE.

oh well, back to passenger...

No comments:

Post a Comment