Can i set environment for generator

Hello,
i have a question:
Is there any way in RubyMine to set environment for generator. I have made new environment for my development eg. my-development i set db and other variable... I want set this environmet as default for rails generator (in RubyMine not in console). Is this possible?
I know that i can use Rails.env == "my-development" in application.rb, but with this i broke git for my coworkers.

Please sign in to leave a comment.