From aa8f2c3295cbf7e1b8e134e70b135e07c35f88e9 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Mon, 2 Apr 2018 15:48:33 +0300 Subject: Added Ruby packaging support. --- pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app') diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app b/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app new file mode 100644 index 00000000..69b015b7 --- /dev/null +++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app @@ -0,0 +1,7 @@ +app = Proc.new do |env| + ['200', { + 'Content-Type' => 'text/plain', + }, ["Hello from Unit running with Ruby #{RUBY_VERSION}!\n\n"]] +end + +run app -- cgit