rails g migration error

Posted by user1506183 on Stack Overflow See other posts from Stack Overflow or by user1506183
Published on 2012-09-09T09:31:38Z Indexed on 2012/09/09 9:38 UTC
Read the original article Hit count: 251

I don't know what to do. Try to use command

$ rails g migration vacancy

but this command give me error:

    invoke  active_record
/home/proger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in `parse': (<unknown>): mapping values are not allowed in this context at line 21 column 11 (Psych::SyntaxError)
    from /home/proger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
    from /home/proger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:151:in `parse'
    ...

There are many rows in error code

I don't know how to fix that Thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails-3