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

xmpp4r-simple syntax error #2

Open
sammcj opened this issue Nov 9, 2014 · 0 comments
Open

xmpp4r-simple syntax error #2

sammcj opened this issue Nov 9, 2014 · 0 comments

Comments

@sammcj
Copy link

sammcj commented Nov 9, 2014

root@dev-samm:~/xmppbridge  # ./xmppbridge.rb bridge
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- xmpp4r-simple (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from ./xmppbridge.rb:13:in `<main>'

hmm ok, so maybe it needs the xmpp4r-simple gem as well?

root@dev-samm:~/xmppbridge 1 # gem install xmpp4r-simple
Fetching: xmpp4r-simple-0.8.8.gem (100%)
Successfully installed xmpp4r-simple-0.8.8
1 gem installed
Installing ri documentation for xmpp4r-simple-0.8.8...
Installing RDoc documentation for xmpp4r-simple-0.8.8...

root@dev-samm:~/xmppbridge  # ./xmppbridge.rb bridge
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require': /var/lib/gems/1.9.1/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:441: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
                   when nil: new_presence.show || :online
                            ^
/var/lib/gems/1.9.1/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:442: syntax error, unexpected keyword_when, expecting keyword_end
                   when :unavailable: :unavailable
                       ^
/var/lib/gems/1.9.1/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:443: syntax error, unexpected keyword_else, expecting keyword_end
/var/lib/gems/1.9.1/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:490: syntax error, unexpected keyword_end, expecting $end
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from ./xmppbridge.rb:13:in `<main>'

boom!

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