Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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>


Thread View

Thread Author Date
Initial Setup ProblemsMark Wales2006-06-01 20:26
      RE: Initial Setup ProblemsMark Wales2006-06-01 20:41
            RE: Initial Setup ProblemsMichael Blake2006-06-02 13:15
                  RE: Initial Setup ProblemsMark Wales2006-06-03 18:12
                        RE: Initial Setup ProblemsMark Wales2006-06-06 20:50
                              RE: Initial Setup ProblemsMichael Blake2006-06-06 23:34
                              RE: Initial Setup ProblemsArne Pfeilsticker2006-06-07 22:59
                                    RE: Initial Setup ProblemsMark Wales2006-06-10 15:30
                                          RE: Initial Setup ProblemsMichael Blake2006-06-10 17:55
                                                RE: Initial Setup ProblemsStuart Felenstein2006-06-11 13:31
                                          RE: Initial Setup ProblemsArne Pfeilsticker2006-06-12 08:22
                                                RE: Initial Setup ProblemsMark Wales2006-06-12 16:06
                                                      RE: Initial Setup ProblemsMark Wales2006-06-12 16:39
                                                      RE: Initial Setup ProblemsArne Pfeilsticker2006-06-13 09:46
                                                            RE: Initial Setup ProblemsArne Pfeilsticker2006-06-13 10:05
                                                                  RE: Initial Setup ProblemsArne Pfeilsticker2006-06-13 10:27
                                                                        RE: Initial Setup ProblemsMichael Blake2006-06-14 15:14

Post a followup to this message