Skip to content

Instantly share code, notes, and snippets.

@Znow
Created October 4, 2010 18:49
Show Gist options
  • Save Znow/610225 to your computer and use it in GitHub Desktop.
Save Znow/610225 to your computer and use it in GitHub Desktop.
C:\Users\Daniel\depot>rails generate scaffold Product title:string description:t
ext image_url:string price:decimal
invoke active_record
C:/Ruby192/lib/ruby/1.9.1/syck.rb:135:in `load': syntax error on line 21, col 0:
`test:' (ArgumentError)
from C:/Ruby192/lib/ruby/1.9.1/syck.rb:135:in `load'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/applic
ation/configuration.rb:86:in `database_configuration'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_r
ecord/railtie.rb:58:in `block (2 levels) in <class:Railtie>'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/lazy_load_hooks.rb:36:in `instance_eval'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/lazy_load_hooks.rb:36:in `execute_hook'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/lazy_load_hooks.rb:42:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/lazy_load_hooks.rb:42:in `run_load_hooks'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_r
ecord/base.rb:1867:in `<top (required)>'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/genera
tors/named_base.rb:97:in `pluralize_table_names?'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/genera
tors/named_base.rb:44:in `table_name'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/rails/ge
nerators/active_record/model/model_generator.rb:16:in `create_migration_file'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/task.rb:22
:in `run'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:118:in `invoke_task'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `block in invoke_all'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `map'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `invoke_all'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/group.rb:2
26:in `dispatch'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:109:in `invoke'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/group.rb:2
69:in `block in _invoke_for_class_method'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/shell.rb:7
4:in `with_padding'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/group.rb:2
58:in `_invoke_for_class_method'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/group.rb:1
50:in `_invoke_from_option_orm'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/task.rb:22
:in `run'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:118:in `invoke_task'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `block in invoke_all'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `map'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/invocation
.rb:124:in `invoke_all'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/group.rb:2
26:in `dispatch'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.2/lib/thor/base.rb:38
9:in `start'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/genera
tors.rb:163:in `invoke'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/comman
ds/generate.rb:10:in `<top (required)>'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/dependencies.rb:239:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/dependencies.rb:239:in `block in require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/dependencies.rb:225:in `block in load_dependency'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/dependencies.rb:591:in `new_constants_in'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/dependencies.rb:225:in `load_dependency'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_
support/dependencies.rb:239:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/comman
ds.rb:17:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment