You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,15 @@
3
3
4
4
# Mysql2 Lambda Gem
5
5
6
-
<ahref="https://github.com/customink/lamby"><imgsrc="https://user-images.githubusercontent.com/2381/59363668-89edeb80-8d03-11e9-9985-2ce14361b7e3.png"alt="Lamby: Simple Rails & AWS Lambda Integration using Rack."align="right"width="300" /></a>Very simple [Mysql2](https://github.com/brianmario/mysql2) gem precompiled for Amazon Linux 1 & 2 (Ruby 2.5 & 2.7) with statically linked `libmysqlclient` ready for any AWS Lambda usage, including Rails.
6
+
<ahref="https://github.com/customink/lamby"><imgsrc="https://user-images.githubusercontent.com/2381/59363668-89edeb80-8d03-11e9-9985-2ce14361b7e3.png"alt="Lamby: Simple Rails & AWS Lambda Integration using Rack."align="right"width="300" /></a>Very simple [Mysql2](https://github.com/brianmario/mysql2) gem precompiled for Amazon Linux 1 & 2 (Ruby 2.5 & 2.7) with statically linked `libmysqlclient` ready for any AWS Lambda usage, including Rails. Add it to your Gemfile:
7
+
7
8
8
9
```ruby
10
+
# When using Rails.
9
11
gem 'mysql2-lambda'
12
+
13
+
# When NOT using Rails.
14
+
gem 'mysql2-lambda', require:'mysql2'
10
15
```
11
16
12
17
Part of a suite of open source projects from **[Lamby: Simple Rails & AWS Lambda Integration using Rack.](https://github.com/customink/lamby)** Details include:
0 commit comments