SapphireSteel Software

 

  -  
     
     
     
  -  
     
     
     
  -  
     
     
     
  -  
     
     
     
  -  
     
     
     
     

 

  rss
RSS (SITE)
 
  rss
RSS (BLOG ONLY)
 
   
 
 
     

 

Section :: Ruby On Rails
- Format For Printing...

When using LightTPD with Cylon, the application always starts in production mode.
 

Question:
When using LightTPD with Cylon, the application always starts in production mode. How can I start it in development mode?

Resolution:

When using LightTPD, the startup mode for Ruby On Rails applications is defined in the file scgi.yaml in the project’s \config directory. In early versions of Ruby In Steel, the default mode was production, in later versions it is development. To change the default you need to edit the file. This is how you would change production to development. Find the line:

:env production

Change it to:

:env development

Save the file and restart your application.


Last updated: Friday 9 February 2007.

 

© 2008 SapphireSteel Software. All rights reserved