I’m a complete Ruby newbie trying to get a “hello world” Rails app up
and running. I’m working through the tutorial, and I’m up to “rake
When I try to run that command, I get the following:
$ rake db:test:clone
PGError: ERROR: syntax error at or near “EXISTS” at character 18
: DROP DATABASE IF EXISTS lrw_rubytest_test
The environment is:
Debian 4.0 (aka Etch, stable)
Ruby 1.8.2-1 (debian packaged version)
libpgsql-ruby1.8 0.7.1-10 (debian packaged version)
PostgreSQL 8.3.3 (locally compiled, freshly updated)
and a few other Ruby-related debian packages
I tried running “DROP DATABASE IF EXISTS lrw_rubytest_test” directly
in phpPgAdmin, and still got the syntax error.
Have I got the wrong version of something, perhaps?