An open API service indexing awesome lists of open source software.

https://github.com/fastruby/irblambda

AWS Lambda function to execute Ruby (2.5) statements
https://github.com/fastruby/irblambda

aws-lambda aws-lambda-ruby ruby

Last synced: 3 months ago
JSON representation

AWS Lambda function to execute Ruby (2.5) statements

Awesome Lists containing this project

README

        

# IRB Lambda [![Build Status](https://travis-ci.org/fastruby/irbLambda.svg?branch=master)](https://travis-ci.org/fastruby/irbLambda)

A Lambda function to run one line of Ruby at a time

## Limitations

This works only with the standard library. There are no dependencies for this
function.

## Requirements

You will need the `awscli` tool installed in your command line. If you are using
Homebrew, you can run: `brew install awscli`

You will need to have AWS credentials for the `./bin/sync` command to work. You
can set them up over here:

$ cat ~/.aws/credentials
[default]
aws_access_key_id =
aws_secret_access_key =

## Setup

Just run:

./bin/setup

## Testing

You can run `rake` or `rspec` to run the test suite.

## Deploying

You can run this script to update the function in AWS:

./bin/sync

## Roadmap

- More user-friendly error messages and stack traces.
- More tests