2012-11-22 22 views
1

我是新來的紅寶石,想嘗試一下ProcessOne的Push平臺(p1pp)故障運行p1pp - GLI.run不再適用於GLI-2

我已經下載了p1pp源(來自https://github.com/processone/p1pp) ,試圖在Ubuntu 12.04中運行它。

$./bin/p1.rb 

得到了錯誤:使用命令

/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- gli (LoadError) 
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
from ./bin/p1.rb:16 

安裝GLI

gem install gli 

這一次我

/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- blather/client/dsl (LoadError) 
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
from /home/krishna/PubSub/p1pp-master/lib/p1pp/p1_publisher.rb:2 
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
from ./bin/p1.rb:18 

安裝胡說:

gem install blather 

現在我被困在這裏:

You should include GLI::App instead 
GLI.run no longer works for GLI-2, you must just call `run(ARGV)' instead 
either fix your app, or use the latest GLI in the 1.x family 

任何幫助,將不勝感激。謝謝!

回答