Last active
July 23, 2020 16:25
-
-
Save dentarg/354806be0a74abcc96b23c293ebf5cd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| run lambda { |env| [200, {"Content-Type" => "text/plain"}, ["Hello World"]] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| source "https://rubygems.org" | |
| git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
| gem "addressable" | |
| gem "puma" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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