Well, never mind.

Apparently putting the spaces back in before the configuration options in
database.yml and switching from the development environment to the
production environment did the trick.

Adam


On 1/9/06 5:20 PM, "Potthast, Adam" <[EMAIL PROTECTED]> wrote:

> 
> 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
> 

-- 


Adam Potthast, PhD.
Assistant Professor of Professional Ethics
G-3 H-SS
University of Missouri - Rolla
Rolla, MO 65409-0570 USA
Voice: 573.341.4868
Fax: 573.341.6312
[EMAIL PROTECTED]

_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to