2013-04-27 119 views
0

我试图运行soundCLI宝石,但它失败:SoundCLI宝石失败

/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。

回答

0

我不是audio组的一部分,所以我运行了以下命令:sudo adduser <username> audio,重新启动并且声音!