Hi all,
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
db:test:clone” on
http://wiki.rubyonrails.org/rails/pages/TutorialStepFive.
When I try to run that command, I get the following:
$ rake db:test:clone
(in /lrw/test3)
rake aborted!
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)
gem v1.2.0
rails (2.1.0)
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?