unused / airstream

A command line tool for streaming to airplay-devices
628 stars 30 forks source link

Doesn't work with ruby 2 #13

Closed ex0ns closed 11 years ago

ex0ns commented 11 years ago

Hello, I discovered you application two days ago and I was really excited to test it. However, when I launched it I had some errors, with ruby-progressbar : http://pastebin.com/XtXGdt89

Did you keep a version without progressbar (didn't find it in the commit) ? Do you know how I can solve this problem ? (without having to re-write ruby-progressbar...)

Thank you

unused commented 11 years ago

Thank you - I will asap provide a fix on that.

unused commented 11 years ago

After a few tests, I could not reproduce your problem. It seems to me the problem is a bad video file, maybe you can provide the video file?

ex0ns commented 11 years ago

I will not have my Apple Tv for few time, I'll try again as soon as possible !

unused commented 11 years ago

Thank you in advance!

ternes3 commented 11 years ago

When I use Ruby 2.0.0 i get /home/ternes3/.gem/ruby/2.0.0/gems/airstream-0.3.7/lib/airstream/node.rb:3:in <module:Airstream>': uninitialized constant Airplay::Client (NameError) from /home/ternes3/.gem/ruby/2.0.0/gems/airstream-0.3.7/lib/airstream/node.rb:2:in<top (required)>' from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /home/ternes3/.gem/ruby/2.0.0/gems/airstream-0.3.7/lib/airstream.rb:16:in <top (required)>' from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from /home/ternes3/.gem/ruby/2.0.0/gems/airstream-0.3.7/bin/airstream:3:in<top (required)>' from /home/ternes3/.gem/ruby/2.0.0/bin/airstream:23:in load' from /home/ternes3/.gem/ruby/2.0.0/bin/airstream:23:in

'

unused commented 11 years ago

Hi,

from the error message, you miss one dependency, there were no issues while testing with ruby 2.0.

Regards!