0

我正在尝试运行soundCLI gem,但它失败了:

/usr/lib/ruby/gems/1.9.1/gems/soundcli-0.0.5/lib/soundcli/player.rb: line 158
   (null)-WARNING **:Command line `dbus-launch --autolaunch=57ae80824714b7b337db9bbc5115ac19 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
AL lib: alsa_open_playback: Could not open playback device 'default': No such file or directory
The autoaudiosink element is not working.
gstplaysink.c(1906): gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0

我是红宝石的新手:),所以我会很感激任何帮助。如果有帮助,我会在 Raspberry Pi 上运行 Debian。

4

1 回答 1

0

我不是该audio组的成员,所以我运行了以下命令:sudo adduser <username> audio,重新启动并瞧!

于 2013-04-27T14:21:58.640 回答