Saturday, February 9, 2008

Setting up JRuby on Rails with PostgreSQL

After a long hiatus I've started reading again. Current topics of interest: Flex, Hibernate, and JRuby.

I ran into some problems getting a JRuby on Rails environment with PostgreSQL set up on my Mac. After reading some documentation I started over and installed the latest version of all the required gems. It's working like a charm and I can finally get into some code.

1) JRuby v1.1 RC1
2) activerecord v2.0.2
3) activerecord-jdbc-adapter v0.7.1
4) activerecord-jdbcpostgresql-adapter v0.7.1

1 comment:

Arun Gupta said...

Thanks for the post! In another post, I also showed how PostgreSQL can be easily configured using NetBeans IDE. It is at:

http://blogs.sun.com/arungupta/entry/totd_25_rails_application_with