I am running Ruby on Rails api and I added the 'ahoy_matey' gem.
when I restart de rails server, I am getting this error:
SocketError at /getaddrinfo: nodename nor servname provided, or not known.
I use redis and sidekiq.
This my sidekiq.rb file:
schedule_file = "config/sidekiq-cron.yml"#Sidekiq.configure_server do |config|# config.average_scheduled_poll_interval = 5#endif Rails.env.development? Sidekiq.configure_server do |config| config.redis = { url: 'redis://redis:6379/0' } end Sidekiq.configure_client do |config| config.redis = { url: 'redis://redis:6379/0' } endendif File.exists?(schedule_file) && Sidekiq.server? Sidekiq::Cron::Job.load_from_hash YAML.load_file(schedule_file)end