For some reason, the create_db script isn't working like it should for me.
Can anyone help me figure out what's going wrong?
First of all, I get "argument errors" when trying to use the regular format
for database.yml. If I take out all of the spaces before the lines in the
configuration file, line 68 of environment.rb goes through, but I still get
the following error and no tables are created:
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection
_adapters/abstract/connection_specification.rb:73:in `establish_connection':
production database is not configured (ActiveRecord::AdapterNotSpecified)
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection
_adapters/abstract/connection_specification.rb:66:in `establish_connection'
from /home/myusernamehere/instiki/script/../config/environment.rb:69
from script/create_db:5
Is this a ruby configuration issue somewhere? Because my database.yml file
is fine.
Adam
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users