Created a template Merb app, changed the ORM to activerecord in config/
init.rb, commented DM in config/dependencies.rb, generated a Model as:

jruby -S merb-gen model --orm activerecord Runner
distance:float,minutes:integer

Finally creating the database using "rake db:create" gives the
following error:

 ~ It took: 0
 ~ Loading: Merb::BootLoader::MixinSession
 ~ It took: 0
 ~ Loading: Merb::BootLoader::BeforeAppLoads
 ~ It took: 0
 ~ Loading: Merb::Orms::ActiveRecord::Connect
 ~ Connecting to database...
 ~ It took: 0
 ~ Loading: Merb::Slices::Loader
 ~ Loaded slice 'MerbAuthSlicePassword' ...
 ~ It took: 1
 ~ Loading: Merb::BootLoader::LoadClasses
 ~ Could not load /Users/arungupta/samples/jruby/merb/jruby-1.1.5/
samples/merb/hello/app/models/user.rb:

uninitialized constant User::DataMapper - (NameError)

This is all using JRuby 1.1.5.

What's missing ?

-Arun

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to