alumae / ruby-pocketsphinx-server

Ruby-based web service for speech recognition, using the PocketSphinx gstreamer module
Other
91 stars 19 forks source link

no such file to load -- gst (LoadError) #10

Open aspats opened 9 years ago

aspats commented 9 years ago

Hi everyone!

Based on discussion in issue #8, and #9 I prepared but still I cant run server. I have ubuntu 10.04 and I am using ruby 1.8.7. This line works fine :gst-launch-0.10 filesrc location=tmp.wav ! decodebin2 ! audioresample ! audioconvert ! pocketsphinx ! filesink location=tmp.txt But when I want to run server I have this problem: /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require': no such file to load -- gst (LoadError) from /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:inrequire' from ./lib/raw_recognizer.rb:1 from /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require' from /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:inrequire' from ./lib/server.rb:13 from /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require' from /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:inrequire' from config.ru:13 from /usr/local/rvm/gems/ruby-1.8.7-p374/gems/rack-1.6.0/lib/rack/builder.rb:55:in instance_eval' from /usr/local/rvm/gems/ruby-1.8.7-p374/gems/rack-1.6.0/lib/rack/builder.rb:55:ininitialize' from config.ru:1:in `new' from config.ru:1 E, [2015-01-16T03:10:59.022977 #15791] ERROR -- : reaped # worker=0 I, [2015-01-16T03:10:59.023782 #15791] INFO -- : worker=0 spawning... I, [2015-01-16T03:10:59.052974 #15797] INFO -- : worker=0 spawned pid=15797 I, [2015-01-16T03:10:59.054175 #15797] INFO -- : Refreshing Gem list -----------STARTING?----------