如何使用库ffi_lib和rails解决此错误

bnl4lu3b  于 2021-09-29  发布在  Java
关注(0)|答案(0)|浏览(170)

回溯(最近一次调用):从bin/rails:8:in <main>' from bin/rails:8:in require'from.rvm/gems/ruby-2.5.0/gems/railties-4.2.11.3/lib/rails/commands.rb:17:in <top (required)>' from .rvm/gems/ruby-2.5.0/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:39:in 运行命令from.rvm/gems/ruby-2.5.0/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:75:in server' from .rvm/gems/ruby-2.5.0/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:75:in 点击“from.rvm/gems/ruby-2.5.0/gems/railties-4.2.11.3/lib/rails/commands/commands\u tasks.rb:78:in block in server' from .rvm/gems/ruby-2.5.0/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:78:in require'from/config/application.rb:6:in <top (required)>' from /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site_ruby/2.5.0/bundler.rb:114:in require'from/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site\u ruby/2.5.0/bundler/runtime.rb:65:in require' from /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in 每个'from/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site\u ruby/2.5.0/bundler/runtime.rb:76:in block in require' from /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in 每个'from/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site\u ruby/2.5.0/bundler/runtime.rb:81:in block (2 levels) in require' from /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in require'from.rvm/gems/ruby-2.5.0/gems/ffi-proj4-0.2.0/lib/ffi-proj4.rb:11:in <top (required)>' from .rvm/gems/ruby-2.5.0/gems/ffi-proj4-0.2.0/lib/ffi-proj4.rb:23:in 模块:proj4'from.rvm/gems/ruby-2.5.0/gems/ffi-proj4-0.2.0/lib/ffi-proj4.rb:49:in <module:FFIProj4>' .rvm/gems/ruby-2.5.0/gems/ffi-1.11.3/lib/ffi/library.rb:96:in ffi_lib':库名称列表不能为空(loaderror)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题