| Message: 10162 |
 |
BY: Mark Wales (mwales) DATE: 2006-06-12 16:06 SUBJECT: RE: Initial Setup Problems ALMOST!! Arne, thanks for the tip!
I feel like I am soooo close. Now it is complaining about the YAML file. I hesitate to throw it over the wall to you guys since I haven't had a chance to explore it yet (it may just be that I haven't properly configured the database), but i thought I might as well. I'll do my own investigation over the next couple of hours/days...
C:\InstantRails\rails_apps\apptrain>rake at_install --trace
(in C:/InstantRails/rails_apps/apptrain)
** Invoke at_install (first_time)
** Invoke db_schema_import (first_time)
** Invoke db:schema:load (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:schema:load
** Execute db_schema_import
** Invoke load_atrain_data (first_time)
** Invoke environment
** Execute load_atrain_data
:development
"db,,app"
"reading file db/apps.yml"
"trying app data import"
"yo"
"App"
rake aborted!
undefined method `attributes' for #<YAML::Object:0x3755c58>
./lib/tasks/rails/import_app.rake:83:in `load_from_yaml'
./lib/tasks/rails/import_app.rake:80:in `eval'
./lib/tasks/rails/import_app.rake:83:in `load_from_yaml'
./lib/tasks/rails/import_app.rake:80:in `load_from_yaml'
./lib/tasks/restore.rake:111:in `restore_data'
./lib/tasks/rails/restore.rake:53
./lib/tasks/rails/restore.rake:52
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'
c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisit
es'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisit
es'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'
c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
c:/ruby/bin/rake.bat:25
C:\InstantRails\rails_apps\apptrain> | |