Topic: Total Newbie - setting up ruby on rails on a mac os x

Hello all,

Thank you in advance for any help on this.

I'm trying to set up ruby on rails with postgreSql on my mac.

I used this guide from you tube.

http://www.youtube.com/watch?v=pf5jPUJAeU4

When i get to this part rake db:migrate

I get the following message.

==  CreatePosts: migrating ====================================================
-- create_table(:posts)
rake aborted!
An error has occurred, this and all later migrations canceled:

private method `test' called for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition:0x104b06620>

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Re: Total Newbie - setting up ruby on rails on a mac os x

Please try running the script using the following command

rake db:migrate --trace

The above would give a detail error message which shows exactly which line is causing the error.