E2 KnowledgeBase

How can I use Ruby on Rails with eleven2.

The user manageable rail configuration file is located at user's home directory or virtual host root directory, a file named as .ls_rails_config. syntax is like You will have to create this file in your /home/USER/ directory

#RailsApp
RailsApp testApp "/lsws/testrails" "production" 4 1

#RailsAppMap
RailsAppMap testApp "testrails.com" "/"

App Path is relative to the user's home directory or the virtual host root directory.

Whenever this file is touched, Rails applications will be restarted.

© Copyright 2004–2008 Eleven2 Inc. - Eleven2™ is a trademark of Eleven2, Inc.
Company - Legal - Contact