Archive for the ‘Ruby on Rails’ Category
PostGIS psqlostgis ERROR could not load library /usr/lib/postgresql/8.4/lib/postgis-1.5.so
Trying to install PostGIS and you can’t get past this error?
psqlostgis.sql:57: NOTICE: type “spheroid” is not yet defined
DETAIL: Creating a shell type definition.
psqlostgis.sql:57: ERROR: could not load library “/usr/lib/postgresql/8.4/lib/postgis-1.5.so”: /usr/lib/postgresql/8.4/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance
psqlostgis.sql:63: ERROR: current transaction is aborted, commands ignored until end of transaction block
psqlostgis.sql:68: ERROR: current transaction is aborted, commands ignored until end of [...]
In: Ruby on Rails, Server Config · Tagged with: error, ldconfig, PostGIS, postgresql, problem
Fetch Email Attachments with Ruby on Rails
This snippet is used in one of my projects to automatically import a csv into the database. It uses cron to check an email account via IMAP. When a unread email is found it will try to match it to subject lines in the database. If there is an entry it will [...]
In: Ruby on Rails · Tagged with: attachment, automation, cron, email, import, TMail
Xapian & Ruby Enterprise in Ubuntu
How to fix ‘No Ruby bindings for Xapian installed’ on Ubuntu after upgrading to RubyEnterprise
In: Ruby on Rails · Tagged with: Ruby, ruby enterprise, Ubuntu 9.04, xap, Xapian
Git Bisect – The Developers Wet Dream – Binary Bug Search
and I used git-bisect for the first time yesterday. We had a bug in our rails code which was preventing an ajax call to work properly. We had both spent a few hours to find the bug but with no luck had to divert traffic from that page.
It was daunting as we had no [...]
In: Ruby on Rails
