require 'rack/lobster' require './thread-dumper' map '/health' do health = proc do |env| [200, { "Content-Type" => "text/html" }, ["1"]] end run health end map '/lobster' do run Rack::Lobster.new end map '/' do welcome = proc do |env| [200, { "Content-Type" => "text/html" }, [< Welcome to OpenShift OpenShift logo
OpenShift

Welcome to OpenShift

Place your application here

In order to commit to your new project, go to your projects git repo (created with the rhc app create command). Make your changes, then run:

    git commit -a -m 'Some commit message'
    git push
  

Then reload this page.

What's next?

WELCOME_CONTENTS ]] end run welcome end