Exception running dev_appserver.rb

Hi,

I have been working off this tutorial


trying to setup a Rails application, with datamapper that will run
an GAE. I have followed all the steps (I believe correctly). But,
whenever I run the dev_appserver.rb I get this exception:

=> Generating configuration files
/Users/joshmoore/.gem/jruby/1.8/gems/appengine-apis-0.0.9/lib/
appengine-apis/datastore_types.rb:168:in const_missing': cannot load Java class com.google.appengine.api.datastore.Rating (NameError) from /Users/joshmoore/.gem/jruby/1.8/gems/appengine-apis-0.0.9/lib/ appengine-apis/datastore_types.rb:173 from /Users/joshmoore/.gem/jruby/1.8/gems/appengine-apis-0.0.9/lib/ appengine-apis/datastore_types.rb:31:inrequire’
from /opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in require' from /Users/joshmoore/.gem/jruby/1.8/gems/appengine-apis-0.0.9/lib/ appengine-apis/datastore.rb:27 from /Users/joshmoore/.gem/jruby/1.8/gems/appengine-apis-0.0.9/lib/ appengine-apis/datastore.rb:31:inrequire’
from /opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in require' from /opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/dm- appengine-0.0.5/lib/appengine_adapter.rb:24 from /opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/dm- appengine-0.0.5/lib/appengine_adapter.rb:36:inrequire’
… 8 levels…
from config/environment.rb:31:in require' from /opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:inrequire’
from config.ru:9:in `generate_xml’

Here is the output of the “appcfg.rb gem list” command:
=> Running RubyGems

*** LOCAL GEMS ***

actionmailer (2.3.3)
actionpack (2.3.3)
activerecord (2.3.3)
activeresource (2.3.3)
activesupport (2.3.3)
addressable (2.1.0)
appengine-apis (0.0.9)
dm-appengine (0.0.5)
dm-ar-finders (0.10.1)
dm-core (0.10.1)
dm-timestamps (0.10.1)
dm-validations (0.10.1)
extlib (0.9.13)
rack (1.0.0)
rails (2.3.3)
rake (0.8.7)

The config.ru file looks like this:

require ‘appengine-rack’
AppEngine::Rack.configure_app(
:application => ‘jsm277’,
:sessions_enabled => true,
:version => ‘dm_test’)
AppEngine::Rack.app.resource_files.exclude :rails_excludes
ENV[‘RAILS_ENV’] = AppEngine::Rack.environment
require ‘config/environment’
run ActionController::Dispatcher.new

I would appreciate all advice to help fix this problem. Thanks in
advance.

Josh


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

The google-appengine 0.0.5 tools now support gem bundler but not
rubygems.
Rails 2.3 will not work without rubygems, so we are dropping Rails
support
until the remaining Rails 3.0.pre gems are released (which will be very
soon).

http://code.google.com/p/appengine-jruby/source/browse/demos/rails/

Hi All please ignore this. After posting it I released that the jar
files for app engine were corrupt.

Sorry,

Josh

On Nov 4, 2009, at 9:48 PM, joshmoore wrote:

load Java class com.google.appengine.api.datastore.Rating (NameError)
from /opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/

addressable (2.1.0)

run ActionController::Dispatcher.new

I would appreciate all advice to help fix this problem. Thanks in
advance.

Josh


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email