chendo / lifx-http

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

Trouble running on ubuntu 13.04 #11

Open petrklus opened 10 years ago

petrklus commented 10 years ago

Hi, I've done a fresh install of ruby and install lifx and lifx-http. This is what I get when I try to run the server:

130 root@odroid:~⟫ lifx-http
/var/lib/gems/2.0.0/gems/lifx-0.4.5/lib/lifx/transport/udp.rb:36:in `setsockopt': Protocol not available (Errno::ENOPROTOOPT)
        from /var/lib/gems/2.0.0/gems/lifx-0.4.5/lib/lifx/transport/udp.rb:36:in `block in listen'
pavelrspb commented 9 years ago

Hi,

I also experienced this problem on Ubuntu 14.04 LTS

petrklus commented 9 years ago

I've found that the problem lays in kernel not supporting certain socket options and ruby expecting them. Would love to know how to make this work!