How to run Rails applications in development mode
You are able to force your application to use the development environment when running on anynines. You can achieve this by setting the RAILS_ENV environment variable for your application:
cf set-env <application name> RAILS_ENV development
This can be very handy when debugging application or deployment errors.
When you are finished with debugging your application you can reset the environment to production by deleting the RAILS_ENV variable again:
cf unset-env <application name> RAILS_ENV
0
Please sign in to leave a comment.
Comments
0 comments