Ruby
Supported projects
The following projects are recommended for implementing Ruby applications using the YugabyteDB YSQL/YCQL API.
Driver | Documentation and Guides |
---|---|
Pg Gem Driver | Documentation |
YugabyteDB Ruby Driver for YCQL | Documentation Sample apps |
Projects | Documentation and Guides |
---|---|
Active Record ORM | Documentation Sample apps |
Learn how to establish a connection to a YugabyteDB database and begin basic CRUD operations by referring to Connect an app or Use an ORM.
Prerequisites
To develop Ruby applications for YugabyteDB, you need the following:
-
Ruby
- Install Ruby 2.7.0 or later. Verify the ruby version using
ruby -v
.
- Install Ruby 2.7.0 or later. Verify the ruby version using
-
YugabyteDB cluster
- Create a free cluster on YugabyteDB Managed. Refer to Use a cloud cluster. Note that YugabyteDB Managed requires SSL.
- Alternatively, set up a standalone YugabyteDB cluster by following the steps in Install YugabyteDB.