The error occurs when the DNS resolution fails. Check if you can wget (or curl) the api url from the command line. Changing the DNS server and testing it might help.
More Related Contents:
- How do I use gems with Ubuntu?
- Long running delayed_job jobs stay locked after a restart on Heroku
- Boolean Validation
- How do I get the current absolute URL in Ruby on Rails?
- SSL Error When installing rubygems, Unable to pull data from ‘https://rubygems.org/
- What is the easiest way to duplicate an activerecord record?
- redirect_to using POST in rails
- How to solve error “Missing `secret_key_base` for ‘production’ environment” (Rails 4.1)
- How can I avoid running ActiveRecord callbacks?
- How does instance_eval work and why does DHH hate it?
- How to create a deep copy of an object in Ruby?
- Is there a clean way to avoid calling a method on nil in a nested params hash? [duplicate]
- Ruby 2.4 and Rails 4 stack level too deep (SystemStackError)
- Custom authentication strategy for devise
- Rails: ActiveRecord query based on association value
- Using Process.spawn as a replacement for Process.fork
- Rails 3, has_one / has_many with lambda condition
- How can I find out the current route in Rails?
- Rails 4: assets not loading in production
- Pass a variable into a partial, rails 3?
- How to use ActiveRecord in a ruby script outside Rails?
- Overriding a module method from a gem in Rails
- Uniq by object attribute in Ruby
- visit_Psych_Nodes_Alias: Unknown alias: default (Psych::BadAlias)
- Why does installing Ruby on Rails generate error “size of array ‘ruby_check_sizeof_voidp’ is negative”?
- JSON encoding wrongly escaped (Rails 3, Ruby 1.9.2)
- How do you do relative time in Rails?
- Creating Microsoft Word (.docx) documents in Ruby
- Ruby BigDecimal sanity check (floating point newb)
- Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?