views:

232

answers:

1

I'm using Aptana RadRails, and it seems that whenever I do any rake tasks it is using the development environment. How do I tell it to use the production environment?

(e.g. db:create sets up my development database. I know I could do a db:create:all, but I'm wondering how to set the environment.)

Thanks!

+1  A: 

you can just add RAILS_ENV=production in the parameters text field at the Rake Rasks tab =)

Staelen