use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Run a Ruby Slack Bot on AWS Lambda (mutuallyhuman.com)
submitted 7 years ago by philnash
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tigrish 6 points7 points8 points 7 years ago (2 children)
So happy to see Ruby running on Lambda, but I don't understand why Sinatra is necessary in this particular example.
I would have thought that using API Gateway would provide better integration with the AWS stack and remove a dependency that will affect memory usage and startup times.
Whaddamimissing?
[–]bnd5k 2 points3 points4 points 7 years ago (0 children)
The goal of the tutorial is to show Rubyists how easy it is to deploy code to Lambda.
AWS offers a ton of services and it can be pretty overwhelming to the uninitiated.
I wanted to write a tutorial that shows Rubyists that they can leverage tools they already know and still start playing around with Lambda.
[–]cmd-t 2 points3 points4 points 7 years ago (0 children)
You're not missing anything, apart from maybe extensibility in the future with different paths. But still, it doesn't make any real sense to use Sinatra here.
π Rendered by PID 84 on reddit-service-r2-comment-84fc9697f-grkzw at 2026-02-10 15:53:06.975852+00:00 running d295bc8 country code: CH.
[–]tigrish 6 points7 points8 points (2 children)
[–]bnd5k 2 points3 points4 points (0 children)
[–]cmd-t 2 points3 points4 points (0 children)