Are there 3 forms to invoke production, staging, etc in Ruby on Rails for rails server, rails console, and rake? -


The forms I know are:

For Rail 3.0: Rail Server -

Rail Console

  Rail Console Production  

rake for

  rake db: RAILS_ENV = Migrate output  

What is this? I know for train runner and rail debic console , this is also -e production what are more forms and what other things are < Use code> -e , just name or need RAILS_ENV ?

As a sidenote, why is so complex; Is it to increase the difficulty so that electricity is hugged in consultation and more charges? (As in the school they teach you to use simple words to teach you, but in the real world, people use harsh words to gain power.)

You do not say which platform you are using, but * on the nick machine, if you want to be consistently, always Occurs:

RAILS_ENV = test rail server

Receive whatever you want.

For the reasons behind the inconsistencies, I do not think you have developer taste, laziness, etc.


Comments