/usr/local/lib/ruby/gems/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:469:in
`connect': Failed to connect to a master node at localhost:27017
(Mongo::ConnectionFailure)
Someone explain for this warning.Example:require rubygems and
require mongodb. But again re-install rubygems and mongodb, cant get the
solutions.So,Please anyone explain this warning.
It is saying that mongo does not appear to be running or at least it
is not running on the machine that your script is running on or is not
running on port 27017.
Are you running mongo on your machine? It is just the same as running
MySQL or PostgreSQL in that it is an independent service. Unlike
SQLite.
It is saying that mongo does not appear to be running or at least it
is not running on the machine that your script is running on or is not
running on port 27017.
Are you running mongo on your machine? It is just the same as running
MySQL or PostgreSQL in that it is an independent service. Unlike
SQLite.