0

我正在尝试在新鲜的 Raspberry Pi 上运行 Siriproxy。

我已逐步遵循本教程:http: //www.hometoys.com/emagazine.php?art_id=2090

一切看起来都安装了 100%。但在最后一步,我尝试运行“rvmsudo siriproxy server”,但出现以下错误。

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>'
4

1 回答 1

0

似乎当您运行涉及cp ~/SiriProxy/config.example.yml ~/.siriproxy/config.yml您在用户目录中创建这些目录的部分时,而不是在它正在查找的根目录中。~/ 符号是主目录的简写。尝试学习基本的 linux 导航是如何工作的,并匹配 config.yml 文件的存储位置——例如,根目录与用户目录。

于 2013-05-09T06:17:20.330 回答