samedi 28 novembre 2015

rake aborted! PG::ConnectionBad: Error on Cloud9 when trying to run rake routes

as the title says, I get this error by making a simple rake routes.

I guess in C9, the default environment in which the commands are run is in production, because this is my Gemfile settings.

group :production do
  gem 'pg'
end

group :development, :test do
  # Use sqlite3 as the database for Active Record
    gem 'sqlite3'
end

And in my linux partition works perfect, so ... how can I make the rake routes run in the development test environment?

Aucun commentaire:

Enregistrer un commentaire