JRuby / Rack Deployment

I know this is quite exotic, but I want to deploy a Ruby web application (not Rails, but Rack based, so it just connects to most Ruby servers) using JRuby. Google and friends give me some success stories, but the rails are mostly connected, and if not, deployment details are not provided. The structure I use is Ramaze, if that matters.

Any help would be greatly appreciated.

+4
source share
2 answers

In my opinion, running a rack-mounted application with a rack-mounted script is the real Ruby way. And I also wanted to apply the same for JRuby. This is why I wrote jetty-rackup http://github.com/geekq/jetty-rackup

We use it to deploy the Sinatra web application. No need for a specific Java configuration. A typical, small config.ru is enough. Then, instead of Webrick, the pier’s web server is used.

+2
source

This is the β€œjust works” jewel for me: https://github.com/matadon/mizuno

+1
source

Source: https://habr.com/ru/post/1276374/


All Articles