Commit b443fd95 by Jared Norman

Allow specifying sqlite version

Older versions of activerecord require sqlite ~> 1.3.6, but not in the
gemfile, the constraint is enforced when you load the adapter.

This allows us toe specify in the environment the version of the gem
we'd like to run against.
parent e0986803
source 'https://rubygems.org'
gem 'sqlite3', platforms: [:ruby]
sqlite = ENV['SQLITE_VERSION']
if sqlite
gem 'sqlite3', sqlite, platforms: [:ruby]
else
gem 'sqlite3', platforms: [:ruby]
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment