I am trying to do an application to maintain equipment, switches, circuits and one of my models is a rack to hold the equipment.
class Rack include DataMapper::Resource property :id, Serial property :name, String end Because of rack wsgi file, I get the following when running anything at the Merb.root C:\Documents and Settings\dominic e sisneros\My Documents\programming\merb\equipment>rake --trace (in C:/Documents and Settings/dominic e sisneros/My Documents/programming/merb/equipment) Warning: please use bin/rake to load merb-core-1.0.1 from ./gems Loading init file from C:/Documents and Settings/dominic e sisneros/My Documents/programming/merb/equipment/config/init.rb Loading C:/Documents and Settings/dominic e sisneros/My Documents/programming/merb/equipment/config/environments/development.rb rake aborted! uninitialized constant Rack::DataMapper c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:2477:in `const_missing' C:/Documents and Settings/dominic e sisneros/My Documents/programming/merb/equipment/app/models/rack.rb:2 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' C:/Documents and Settings/dominic e sisneros/My Documents/programming/merb/equipment/gems/gems/rack-cache-0.2.0/lib/rack/cache.rb:3 c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core/core_ext/kernel.rb:144:in `require' c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core/core_ext/kernel.rb:144:in `load_dependency' c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core/bootloader.rb:405:in `load_dependencies' c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core/bootloader.rb:405:in `each' c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core/bootloader.rb:405:in `load_dependencies' c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core/bootloader.rb:393:in `run' c:/ruby/lib/ruby/gems/1.8/gems/merb-core-1.0.2/lib/merb-core.rb:609:in `load_dependencies' C:/Documents and Settings/dominic e sisneros/My Documents/programming/merb/equipment/Rakefile:13 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:2361:in `load' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:2361:in `raw_load_rakefile' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:1994:in `load_rakefile' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:2045:in `standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:1993:in `load_rakefile' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:1978:in `run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:2045:in `standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/lib/rake.rb:1976:in `run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3.1/bin/rake:31 c:/ruby/bin/rake:19:in `load' c:/ruby/bin/rake:19 Any ideas how I can solve this? thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
