1

我究竟做错了什么?bundle install 运行良好,ruby 为 1.9.3p194(2012-04-20 修订版 35410)[x86_64-darwin12.0.0]。已经尝试用 syck 替换 psych ,但它会引发完全相同的错误。

rMBP:obtvse Tobias$ rails s
=> Booting Thin
=> Rails 3.2.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/Tobias/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in `parse': 
(<unknown>): found character that cannot start any token while scanning for the next
token  at line 7 column 22 (Psych::SyntaxError)
from /Users/Tobias/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in
`parse_stream'
from /Users/Tobias/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/psych.rb:151:in `parse'
from /Users/Tobias/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/psych.rb:127:in `load'
from /Users/Tobias/Dropbox/obtvse/config/initializers/config.rb:1:in `<top (required)>'
from /Users/Tobias/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-
(...)
4

0 回答 0