我正在尝试在新的Raspberry Pi上运行Siriproxy。
我已逐步遵循本教程:http://www.hometoys.com/emagazine.php?art_id=2090
一切看起来都是100%安装。但在最后一步,我试图运行'rvmsudo siriproxy服务器'我在下面得到此错误。
siri@raspberrypi:~/SiriProxy$ rvmsudo siriproxy server
/home/siri/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych.rb:297:in `initialize': No such file or directory - /root/.siriproxy/config.ym l (Errno::ENOENT)
from /home/siri/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych.rb:297:in `open'
from /home/siri/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych.rb:297:in `load_file'
from /home/siri/.rvm/gems/ruby-1.9.3-p385@SiriProxy/gems/siriproxy-0.3.3/lib/siriproxy/command_line.rb:143:in `parse_options'
from /home/siri/.rvm/gems/ruby-1.9.3-p385@SiriProxy/gems/siriproxy-0.3.3/lib/siriproxy/command_line.rb:33:in `initialize'
from /home/siri/.rvm/gems/ruby-1.9.3-p385@SiriProxy/gems/siriproxy-0.3.3/bin/siriproxy:6:in `new'
from /home/siri/.rvm/gems/ruby-1.9.3-p385@SiriProxy/gems/siriproxy-0.3.3/bin/siriproxy:6:in `<top (required)>'
from /home/siri/.rvm/gems/ruby-1.9.3-p385@SiriProxy/bin/siriproxy:23:in `load'
from /home/siri/.rvm/gems/ruby-1.9.3-p385@SiriProxy/bin/siriproxy:23:in `<main>'
答案 0 :(得分:0)
看起来当您运行涉及cp ~/SiriProxy/config.example.yml ~/.siriproxy/config.yml
的部分时,您在用户目录中创建了这些目录,而不是在它所查找的根目录中。 〜/符号是主目录的简写。尝试学习基本的linux导航如何工作,并匹配应存储config.yml文件的位置 - 例如,root与用户目录。