I have used rails a few times but have not too much experience.
I recently upgraded to Rails 4 and installed Postgres as a server on my OS
X Mavericks loaded Macbook Pro.
I am unable to figure out what is going on.
1. my database.yml file is pointing to sqlite3
2. I created a new project and fired up, $rails server.
3. Active record complains that I need to install gem ''pg''
when I view in
the browser. i.e. No Welcome page.
4. I did that (running bundle install again) and now I get:
fe_sendauth: no password supplied
5. But I never pointed to using Postgres as this a test project with
Development, Test and Production Databases pointing to sqlite3 in
database.yml
6. I get the following error when running rake db:create
Couldn''t create database for
{"adapter"=>"postgresql",
"username"=>"postgres",
"database"=>"UIS",
"host"=>"localhost"}
7. I had used "database"=>"UIS" in a project long back.
So rails must be
looking at some configuration app out side my recently created test app.
What could be going on?
Any help would be great.
Thanks
Vid
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/8583167d-5659-4ad0-a19b-1dd41d3fb535%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.