Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

$sudo bundle exec rake db:create - error #5011

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

$sudo bundle exec rake db:create - error #5011

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: achechet
[Submitted to the original trac issue database at 9.13pm, Monday, 14th October 2013]

I have got blank Ubuntu server 12.04.3 and try to install The Rails follow by Install.md from GitHub.
When I reach step with this command:
$sudo bundle exec rake db:create
I have recieved error:
Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", ... and so on...
In Google search I have found recomendation like - put host: localhost and port: 5432 in config/database.yml.
In my case it does not work.
Have you any other advise or hints?

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 7.22am, Wednesday, 16th October 2013]

This is (almost certainly) not a bug. If you need help setting up the rails server code then please ask on #osm-dev or on the dev or rails-dev mailing lists. It will be much easier to help you there than through a bug tracker.

@openstreetmap-trac
Copy link
Author

Author: Andy Allan
[Added to the original trac issue at 1.35pm, Wednesday, 16th October 2013]

I also should point out that nowhere does it say to run that command with sudo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant