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
Currently the only way to do this is to set a CFLAGS environment variable at gem installation time (and, separately, to ensure that you download and compile the source gem, not a precompiled gem).
It would be helpful if options were all contained within the bundler/gemfile toolchain, so that these two changes would be sufficient:
# Gemfilegem"sqlite3",force_ruby_platform: true# needs bundler 2.3.18 or higher
See #400 for the discussion that ended with this feature request.
The user in this case is someone who is a sqlite professional™ and wants to set some compile-time flags for default pragma values. See https://fractaledmind.github.io/2023/09/07/enhancing-rails-sqlite-fine-tuning/ for an example use case.
Currently the only way to do this is to set a CFLAGS environment variable at gem installation time (and, separately, to ensure that you download and compile the source gem, not a precompiled gem).
It would be helpful if options were all contained within the bundler/gemfile toolchain, so that these two changes would be sufficient:
And a bundler config:
(or the equivalent entry in
.bundler/config
:The text was updated successfully, but these errors were encountered: