Skip to content

Conversation

amaia
Copy link
Contributor

@amaia amaia commented Aug 24, 2012

I got thi error when trying to run the ActiveRecord tests with the postgresql adapter in the vagrant box:

vagrant@rails-dev-box:/vagrant/rails/activerecord$ bundle exec rake test_postgresql
[..]
Using postgresql
/vagrant/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:1466:in `initialize': FATAL: role "vagrant" does not exist (PG::Error)
[..]

The Contributing to Ruby on Rails guide recommends creating a PostgreSQL superuser with your shell user, and doing that fixes the issue.

@fxn
Copy link
Member

fxn commented Aug 24, 2012

Thanks!

fxn added a commit that referenced this pull request Aug 24, 2012
@fxn fxn merged commit 333dbb7 into rails:master Aug 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants