Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpd_demo.rb #1

Open
lubino opened this issue Jul 10, 2016 · 1 comment
Open

mpd_demo.rb #1

lubino opened this issue Jul 10, 2016 · 1 comment

Comments

@lubino
Copy link

lubino commented Jul 10, 2016

I am trying to run
ruby mpd_demo.rb

It ends with this result
/var/lib/gems/2.1.0/gems/ruby-mpd-0.3.1/lib/ruby-mpd.rb:144:in 'initialize': Connection refused - connect(2) for "localhost" port 6600 (Errno::ECONNREFUSED)
from /var/lib/gems/2.1.0/gems/ruby-mpd-0.3.1/lib/ruby-mpd.rb:144:in 'new'
from /var/lib/gems/2.1.0/gems/ruby-mpd-0.3.1/lib/ruby-mpd.rb:144:in 'connect'
from mpd_demo.rb:142:in 'block in < main >'
from /var/lib/gems/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in 'call'
from /var/lib/gems/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in 'run_machine'
from /var/lib/gems/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in 'run'
from mpd_demo.rb:140:in '< main >'

What is wrong with my configuration?
Thanks a lot.

@lubino
Copy link
Author

lubino commented Jul 10, 2016

Also ruby web_ui.rb

web_ui.rb:18:in 'class:WebSocketUI': uninitialized constant WebSocketUI::MPDOperations (NameError)
from web_ui.rb:17:in '< main >'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant