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
Copy file name to clipboardExpand all lines: INSTALLATION.md
+6-38
Original file line number
Diff line number
Diff line change
@@ -5,55 +5,23 @@ This document will help you install the `chdb-ruby` ruby gem.
5
5
6
6
## Installation
7
7
8
-
### Native Gems
8
+
### Compilation During Installation
9
9
10
-
Native (precompiled) gems are available for recent Ruby versions on these platforms:
10
+
The gem will automatically compile native extensions during installation (`gem install`). Supported platforms are:
11
11
12
12
-`aarch64-linux`
13
13
-`arm64-darwin`
14
14
-`x86_64-linux`
15
15
-`x86_64-darwin`
16
16
17
-
If you are using one of these Ruby versions on one of these platforms, the native gem is the recommended way to install chdb-ruby.
17
+
The `chdb-ruby` gem does not provide a pure Ruby implementation. Installation will fail if your platform is unsupported.
18
18
19
-
`chdb-ruby` gem does not provide a pure Ruby implementation. Installation will fail if your platform is unsupported.
19
+
## Runtime Dependencies
20
20
21
-
## Post-Installation: Setting Up libchdb C++ Library
21
+
The `chdb-ruby` gem requires the `libchdb` C++ library as its core engine. The library will be automatically downloaded during installation. The extension uses `dlopen` to dynamically load the library. No manual configuration is required.
22
22
23
-
After installing the `chdb-ruby` gem, you must also install the `libchdb` C++ library locally. If the library path is not in your system's default search paths, you'll need to configure the runtime library loading path.
0 commit comments