2013-03-26 111 views
0

我的应用程序使用熊猫进行视频嵌入。我已经在config中创建了panda.rb初始化程序和panda.yml文件。我能够连接到熊猫(火上轨控制台)。当我做熊猫:: Profile.all,我得到以下错误:Typhoeus/faraday适配器错误

1.8.7-p371 :001 > Panda::Profile.all 
    Ethon::Errors::InvalidOption: The option: disable_ssl_peer_verification is invalid. 
    Please try ssl_verifypeer instead of disable_ssl_peer_verification. 
    from /home/vasu/.rvm/gems/ruby-1.8.7-p371/gems/ethon-0.5.10/lib/ethon/easy.rb:255:in 
    `set_attributes' 
    from /home/vasu/.rvm/gems/ruby-1.8.7-p371/gems/ethon-0.5.10/lib/ethon/easy.rb:253:in 
    `each_pair' 

基础上改变建议百头巨怪这个错误味精在
https://github.com/typhoeus/typhoeus/issues/226#issuecomment-9919517

我加了一行需要“百头巨怪/ (home/vasu/.rvm/gems/ruby​​-1.8.7-p371/gems/ethon-0.5.10/easy.rb)

但是现在我得到了下面的错误,当我尝试做轨道c:

 /home/vasu/.rvm/gems/ruby-1.8.7-p371/gems/typhoeus- 
     0.6.2/lib/typhoeus/adapters/faraday.rb:19: undefined method `supports_parallel=' 
     for Faraday::Adapter::Typhoeus:Class (NoMethodError) 
     from /home/vasu/.rvm/gems/ruby-1.8.7-p371/gems/ethon-.5.10/lib/ethon/easy.rb:11:in 
     `require' 
    from /home/vasu/.rvm/gems/ruby-1.8.7-p371/gems/ethon-0.5.10/lib/ethon/easy.rb:11 
    from /home/vasu/.rvm/gems/ruby-1.8.7-p371/gems/ethon-0.5.10/lib/ethon.rb:9:in 
     `require' 

一看在我的应用程序的宝石的名单显示,它使用的是以下几点: ethon(0.5.10) 法拉第(0.7.6) 百头巨怪(0.6.2)

我在做什么错误?

回答

0

在将熊猫版本更改为'1.6.0'并将api_port 80添加到我的panda.yml后,我能够得到此工作