1

I am very new to ruby. I am trying to run BBYIDX and followed How to install BBYIDX on Windows?

When I try rake db:migrate it reproduces error as

(in /home/virinchy/BBYIDX-2/BBYIDX-master)  
DEPRECATION WARNING: Rake tasks in vendor/plugins/acts_as_tsearch/tasks,   vendor/plugins/acts_as_tsearch/tasks, vendor/plugins/delayed_job/tasks,   vendor/plugins/nested_scenarios/tasks, vendor/plugins/rails-authorization-plugin/tasks, and   vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/local/rvm/gems/ruby-1.8.7-p371/gems/rails-2.3.11/lib/tasks/rails.rb:10)  
rake aborted!  
FATAL:  password authentication failed for user "bbyidx"  
FATAL:  password authentication failed for user "bbyidx"
Bundle install was succesful with message as:Your bundle is complete!  
Use `bundle show [gemname]` to see where a bundled gem is installed. 

But rake db:migrate produces this error. I am running ubuntu 12.04, ruby-1.8.7, rails-2.3.11 and gem 1.5.3

How do i solve this? Thanks in advance.

1 Answer 1

4

Did you set a password for your postgres user?

In your config/database.yml you should have your databases set up properly:

development:
  adapter: postgresql
  encoding: unicode
  database: your_app_development # name your development app something
  host: localhost
  pool: 5
  username: your_username
  password: your_password # or leave blank if you didn't set a password

test:
  adapter: postgresql
  encoding: unicode
  database: your_app_test
  host: localhost
  pool: 5
  username: your_username
  password: your_password
Sign up to request clarification or add additional context in comments.

7 Comments

Here is my database.yml.# SQLite version 3.x adapter: postgresql database: bbyidx_dev username: bbyidx password: 123456 host: localhost
Did you try changing it like I've written? You can keep the names that you currently have obviously.
Thanks for suggestion.I have followed link to install postgresql in ubuntu12.04.
Here's my database.yml file.This Did n't make any change to it. link
Probably not, I've always had it though.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.