【发布时间】:2013-05-02 04:41:02
【问题描述】:
数据库:PostgreSQL 9.2
Delayed_job (3.0.5)
Delayed_job_active_record (0.4.4)
当我尝试运行 rake 任务时,rake 中止:
"invalid byte sequence in UTF-8 (argument error)"
我不知道这是什么意思。
因为调试起来可能真的很困难,所以有任何建议:可能我需要重新安装一些东西,尝试另一个 gem,或者其他任何东西。
提前致谢。
[Worker(host:HP-�� pid:4768)] Starting job worker
rake aborted!
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/trace_output.rb:16:in `block in trace_on': invalid byte sequence in UTF-8 (ArgumentError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/trace_output.rb:14:in `map'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/trace_output.rb:14:in `trace_on'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:328:in `trace'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:183:in `display_error_message'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:169:in `rescue in standard_exception_handling'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:159:in `standard_exception_handling'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.0.4/bin/rake:33:in `<top (required)>'
from C:/Ruby193/bin/rake:23:in `load'
from C:/Ruby193/bin/rake:23:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
【问题讨论】:
-
你能发布堆栈跟踪吗?
-
是的,如果这就是你的意思
标签: ruby-on-rails postgresql delayed-job