Fayme said about 2 years ago on Push Notifications with ActionCable :
  I tried to run the project but seems like we are using different ruby versions. Then changing the ruby version and running the project it's working absolutely fine. Does it have anything to do with the version?  In my project i am using 2.5.1.