-
-
Notifications
You must be signed in to change notification settings - Fork 501
/
Gemfile
34 lines (26 loc) · 1.09 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |name| "https://github.com/#{name}.git" }
# Specify your gem's dependencies in sentry-ruby.gemspec
gemspec
gem "sentry-ruby", path: "../sentry-ruby"
gem "sentry-rails", path: "../sentry-rails"
gem "delayed_job"
gem "delayed_job_active_record"
gem "rails", "> 5.0.0"
platform :jruby do
# See https://github.com/jruby/activerecord-jdbc-adapter/issues/1139
gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", ref: "6b3983bbbfda75ee2a1f5bc4c8d35efd7b71d84b"
gem "jdbc-sqlite3"
end
ruby_version = Gem::Version.new(RUBY_VERSION)
if ruby_version < Gem::Version.new("2.5.0")
gem "sqlite3", "~> 1.3.0", platform: :ruby
elsif ruby_version < Gem::Version.new("3.0.0")
gem "sqlite3", "~> 1.6.0", platform: :ruby
elsif ruby_version >= Gem::Version.new("3.0.0") && ruby_version < Gem::Version.new("3.1.0")
gem "sqlite3", "~> 1.7.0", platform: :ruby
elsif ruby_version >= Gem::Version.new("3.1.0")
gem "sqlite3", "~> 2.2", platform: :ruby
end
eval_gemfile File.expand_path("../Gemfile", __dir__)