I try to make a simple chat on RoR, I do this for this video.
https://www.youtube.com/watch?v=kJbuZecN1c8
at the stage of checking the connection websocket in the console displays the following error
WebSocket connection to 'ws://localhost:3000/cable' failed: Error during WebSocket handshake: Unexpected response code: 500 what it can be connected with, and what are the possible solutions?
link to the repo https://github.com/movcode/Rails-WebSocket-Example
Started GET "/cable" for 127.0.0.1 at 2018-04-06 18:19:44 +0300 LoadError (/home/alexandr/.rvm/gems/ruby-2.4.2/gems/nio4r-2.3.0/lib/nio4r_ext.so: undefined symbol: rb_cFixnum - /home/alexandr/.rvm/gems/ruby-2.4.2/gems/nio4r-2.3.0/lib/nio4r_ext.so):- Alexander Honorgem install nio4r -v '2.3.0'- Alexander Honor