[Rails] Re: Postgres adapter misconfigured on Linux?

2013-07-24 Thread Benjamin Nash
No Postgres adapter was broken. It turns out that another developer had installed the postgres_ext gem, which doesn't support add_index. Removing that gem fixed the failures. On Tuesday, July 23, 2013 4:21:52 PM UTC-4, Benjamin Nash wrote: > > I've written a simple Rails mig

[Rails] Postgres adapter misconfigured on Linux?

2013-07-23 Thread Benjamin Nash
I've written a simple Rails migration that adds an index to an existing Postgres table: class AddIndexToEvents < ActiveRecord::Migration > def change > add_index :sf_events, :account_id > end > end However, when I run the migration, it fails due to a syntax error on the CREATE INDEX li