chendo / lifx-http

A HTTP API for controlling LIFX devices.
MIT License
91 stars 13 forks source link

lifx-snoop issue #20

Closed sparkacus closed 7 years ago

sparkacus commented 10 years ago

Hey,

I seem to be having an issue with lifx-snoop:

/usr/bin/lifx-snoop:23:in load': /Library/Ruby/Gems/2.0.0/gems/lifx-0.4.5/bin/lifx-snoop:30: syntax error, unexpected ',' (SyntaxError) light_udp.add_observer(self) do |message:, ip:, transport:| ^ /Library/Ruby/Gems/2.0.0/gems/lifx-0.4.5/bin/lifx-snoop:38: syntax error, unexpected ',' peer_udp.add_observer(self) do |message:, ip:, transport:| ^ /Library/Ruby/Gems/2.0.0/gems/lifx-0.4.5/bin/lifx-snoop:42: syntax error, unexpected keyword_end, expecting end-of-input from /usr/bin/lifx-snoop:23:in

'

OSX Yosemite

Unfortunately I'm rather new to all of this so I don't know how to edit the code to correct it :(.

Any ideas?