Unofficial Content
  • This documentation is valid for:

Purpose

Explain how to run Ruby applications on Thin server using mod-rack (sac #25698)

Steps to follow

1. Install Thin server:

gem install thin

2. Under the same directory where the Ruby the application is copied, run:

thin start -d -p80 -Rconfig.ru

See all the options for thin command.
Note that -R option allows you to use mod-rack ("config.ru" file must be copied from GeneXus installation to the virtual directory where the rest of the application files are - .rb, .html, and other configuration files.

NOTE: This is automatic since GX X Evolution 2, as Thin is used for prototyping.

 

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant