Skip to content

Instantly share code, notes, and snippets.

@dentarg
Last active July 23, 2020 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dentarg/354806be0a74abcc96b23c293ebf5cd5 to your computer and use it in GitHub Desktop.
Save dentarg/354806be0a74abcc96b23c293ebf5cd5 to your computer and use it in GitHub Desktop.
run lambda { |env| [200, {"Content-Type" => "text/plain"}, ["Hello World"]] }
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem "addressable"
gem "puma"
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
nio4r (2.5.2)
public_suffix (4.0.5)
puma (4.3.5)
nio4r (~> 2.0)
PLATFORMS
ruby
DEPENDENCIES
addressable
puma
BUNDLED WITH
2.1.4
# frozen_string_literal: true
## Require gems
require 'bundler/setup'
Bundler.require
prune_bundler
rackup 'config.ru'
workers 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment