On Apr 3, 3:40 am, skt <stibre...@gmail.com> wrote:
>
> It would seem like I am missing something simple and obvious here
> otherwise I would expect lot more posts on this topic in this forum
> but I don't see any here. Thanks for your help and pointers to get
> over this - I am in a Windows 7 box. If I need to revert back to some
> older version of Ruby/Rails to get past this error I am happy to do
> that - just starting out migrating from 2.3.8 to 3.0.
>
Sounds to me like there is a syntax error in your database.yml file
(possibly at line 36)
Fred
> Thanks,
> -S
>
> C:/Ruby192/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML
> at line 36 column 5 (Psych::SyntaxError)
> from C:/Ruby192/lib/ruby/1.9.1/psych.rb:148:in `parse_stream'
> from C:/Ruby192/lib/ruby/1.9.1/psych.rb:119:in `parse'
> from C:/Ruby192/lib/ruby/1.9.1/psych.rb:106:in `load'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/application/configuration.rb:88:in `database_configuration'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.5/
> lib/active_record/railtie.rb:58:in `block (2 levels) in
> <class:Railtie>'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/lazy_load_hooks.rb:26:in `on_load'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.5/
> lib/active_record/railtie.rb:57:in `block in <class:Railtie>'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/initializable.rb:25:in `instance_exec'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/initializable.rb:25:in `run'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/initializable.rb:50:in `block in run_initializers'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/initializable.rb:49:in `each'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/initializable.rb:49:in `run_initializers'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/application.rb:134:in `initialize!'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/application.rb:77:in `method_missing'
> from C:/rails3/agd/config/environment.rb:5:in `<top
> (required)>'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/dependencies.rb:239:in `require'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/dependencies.rb:239:in `block in require'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/dependencies.rb:225:in `block in load_dependency'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/dependencies.rb:596:in `new_constants_in'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/dependencies.rb:225:in `load_dependency'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/
> lib/active_support/dependencies.rb:239:in `require'
> from C:/rails3/agd/config.ru:3:in `block in <main>'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> builder.rb:46:in `instance_eval'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> builder.rb:46:in `initialize'
> from C:/rails3/agd/config.ru:1:in `new'
> from C:/rails3/agd/config.ru:1:in `<main>'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> builder.rb:35:in `eval'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> builder.rb:35:in `parse_file'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> server.rb:162:in `app'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> server.rb:248:in `wrapped_app'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/
> server.rb:213:in `start'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/commands/server.rb:65:in `start'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/commands.rb:30:in `block in <top (required)>'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/commands.rb:27:in `tap'
> from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/
> rails/commands.rb:27:in `<top (required)>'
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment