Is it mandatory to use production database ? The command below should generate the development database, isn't it ?
-Arun On Wed, May 28, 2008 at 11:30 PM, Cyril Mougel <[EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 1:52 AM, Arun Gupta <[EMAIL PROTECTED]> wrote: >> I'm trying to install Typo 5.0.3 and "rake db:create" gives the following >> error: >> >> -- cut here -- >> (in /Users/arungupta/samples/jruby/typo-5.0.3) >> rake aborted! >> #42000Unknown database 'typo_dev' >> >> (See full trace by running task with --trace) >> -- cut here -- >> >> I'm able to create other trivial Rails applications and db:create >> database there. >> > > > it's because the default environnement is development. > > Try : > > rake db:create RAILS_ENV='production' > > So the creation are in typo production database. You know how is this > base in config.database.yml > > > -- > Cyril Mougel > http://blog.shingara.fr > _______________________________________________ > Typo-list mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/typo-list > -- Web Technologies and Standards Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta _______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
