How to set RAILS_ENV in Aptana Rad Rails?
        Posted  
        
            by Hortitude
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Hortitude
        
        
        
        Published on 2009-09-23T21:32:57Z
        Indexed on 
            2010/05/10
            17:04 UTC
        
        
        Read the original article
        Hit count: 554
        
ruby-on-rails
|aptana
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!
© Stack Overflow or respective owner