刚刚部署代码,发现只能执行 migrate
可是报了“invalid byte sequence in US-ASCII”.网上找了很多方法,也都无效。求助强大的组织。
➜ tianjicom git:(production) rake db:migrate
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
rake aborted!
rake aborted!
invalid byte sequence in US-ASCII
/Users/ane/.rvm/gems/ruby-1.9.3-p545@rails32/bin/ruby_executable_hooks:15:in `eval'
/Users/ane/.rvm/gems/ruby-1.9.3-p545@rails32/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
➜ tianjicom git:(production)