Production Mode.. One liner question

Hello Champs,

Just a one liner question. I have written a script to put data into production database. Where to execute that script ?

For scripts sometimes I create a bin directory. Those are run with script/runner.

Resolved.. We have to pass a RAILS_ENV variable at command line before ruby script/runner..

Cheers ..

Xavier Noria wrote: