0
나는 무엇을 해야할지 모르겠다. 명령레일 이동 오류
$ rails g migration vacancy
을 사용하려고하지만,이 명령은 나에게 오류를 제공합니다 :
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'
...
나는 그 덕분에
를 해결하는 방법을 모른다
오류 코드에 많은 행이 있습니다 업데이트
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: jobs
pool: 5
username: root
password: toor
socket: /var/run/mysqld/mysqld.sock
업데이트 : sqlite3에는 문제가 없습니다. mysql gem의 문제
메신저에 있습니다. .yml에서 무엇이 잘못되었을 수 있습니까? –
각 환경에 대한 모든 설정은 yaml 구문을 따라 들여 쓰기해야합니다. 'development :'를 제외한 모든 줄을 2 칸 공백으로 들여 쓰기하면됩니다. 희망이 도움이 될 것입니다. –
아니요 (문제가 더 깊습니다. 그러나 –