glossarist / iev-data

1 stars 1 forks source link

Update to use with Ruby 3.0 #199

Closed ronaldtse closed 2 years ago

ronaldtse commented 2 years ago

debase does not support Ruby 3.0.

ronaldtse commented 2 years ago

I noticed that sqlite3 also didn't work with Ruby 3.0 on macOS.

Finally this worked:

$ gcc-11 --version
gcc-11 (Homebrew GCC 11.2.0) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++-11 --version
g++-11 (Homebrew GCC 11.2.0) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ export CC=gcc-11 CXX=g++-11
$ gem install sqlite3
Building native extensions. This could take a while...
Successfully installed sqlite3-1.4.2
1 gem installed