Monday, November 5, 2012

[Rails] Not able to create test database for cucumber in postgres?

Hi all,


I create  "app_test" database in postgres with my accurate owner name.
and when i fire rake db:test:prepare i am getting  error :-

NOTICE:  database "app_test" does not exist, skipping
PG::Error: ERROR:  permission denied to create database
: CREATE DATABASE "app_test" ENCODING = 'utf8'

And when i login in postgres than my database was not present. 

Don' t know why this all is happeing ?

Till now i am using development database for cucumber . But i am facing lots of problem .


Thanks 

Regards 
Fahim Babar Patel

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/bcQRQcM4BBQJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate