turboladen / rtp

Ruby implementation of RTP
20 stars 15 forks source link

undefined method `log_class_name=' for RTP::Logger:Class #10

Open tetherit opened 9 years ago

tetherit commented 9 years ago

Ever since I version bumped to the latest version of rtp and rtsp, I'm getting:

undefined method `log_class_name=' for RTP::Logger:Class
/home/deployer/asd/shared/bundle/ruby/2.1.0/gems/rtp-0.1.5/lib/rtp/receiver.rb:5:in `require_relative'
/home/deployer/asd/shared/bundle/ruby/2.1.0/gems/rtp-0.1.5/lib/rtp/receiver.rb:5:in `<top (required)>'
/home/deployer/asd/shared/bundle/ruby/2.1.0/gems/rtsp-0.4.5/lib/rtsp/client.rb:4:in `require'
/home/deployer/asd/shared/bundle/ruby/2.1.0/gems/rtsp-0.4.5/lib/rtsp/client.rb:4:in `<top (required)>'

All I have to do to trigger this error is:

require 'rtsp/client'

Any ideas?

tindron commented 9 years ago

Try uninstalling the new version of log_switch?

tetherit commented 9 years ago

That works, but the new version of log_switch is installed automatically - maybe the dependencies of this gem need to be changed temporarily to require the old version until support for the new log_switch is added?

gipsh commented 6 years ago

for me this did the trick,

gem uninstall log_switch gem install log_switch -v 0.4.0

dpruessner commented 3 years ago

@gipsh Thank you!