Rails 请问大家, rake db:migrate 时 报 iconv.so 错

ghn645568344 · June 05, 2017 · 1582 hits

RT ruby 2.1.4 运行

rake db:migrate

时,报

rake aborted!
LoadError: incompatible library version - /home/haonan/.rvm/gems/ruby-2.1.4/gems/iconv-1.0.4/lib/iconv/iconv.so
/home/haonan/.rvm/gems/ruby-2.1.4/gems/iconv-1.0.4/lib/iconv.rb:1:in `require'
/home/haonan/.rvm/gems/ruby-2.1.4/gems/iconv-1.0.4/lib/iconv.rb:1:in `<top (required)>'
/home/haonan/文档/qianbao/config/application.rb:7:in `<top (required)>'
/home/haonan/文档/qianbao/Rakefile:4:in `<top (required)>'
/home/haonan/.rvm/gems/ruby-2.1.4/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)

纠结一下午了,请问大神们怎么解决🙏

ghn645568344 closed this topic. 05 Jun 17:27
You need to Sign in before reply, if you don't have an account, please Sign up first.