when i launch using ruby charlie.rb, it give me and LoadError
Traceback (most recent call last):
7: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:in <main>' 6: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:inrequire'
5: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in <top (required)>' 4: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:inrequire'
3: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:in <top (required)>' 2: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:inrequire'
1: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:4:in <top (required)>' D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:4:inrequire': cannot load such file -- 2.6/ffi_c (LoadError)
8: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:in <main>' 7: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:inrequire'
6: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in <top (required)>' 5: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:inrequire'
4: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:in <top (required)>' 3: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:inrequire'
2: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:3:in <top (required)>' 1: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:6:inrescue in <top (required)>'
D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:6:in `require': cannot load such file -- ffi_c (LoadError)
when i launch using ruby charlie.rb, it give me and LoadError Traceback (most recent call last): 7: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:in
<main>' 6: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:in
require' 5: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in<top (required)>' 4: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in
require' 3: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:in<top (required)>' 2: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:in
require' 1: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:4:in<top (required)>' D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:4:in
require': cannot load such file -- 2.6/ffi_c (LoadError) 8: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:in<main>' 7: from C:/Users/acer/Saved Games/ktanevoice/charlie.rb:2:in
require' 6: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in<top (required)>' 5: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in
require' 4: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:in<top (required)>' 3: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:1:in
require' 2: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:3:in<top (required)>' 1: from D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:6:in
rescue in <top (required)>' D:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.10-x64-mingw32/lib/ffi.rb:6:in `require': cannot load such file -- ffi_c (LoadError)