@@ -14,11 +14,12 @@ gem 'lockbox'
14
14
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
15
15
gem 'rails' , '~> 7.1.3'
16
16
17
- # While rails 7.1 supports rack 3, other things we're using actually don't yet,
18
- # but bundler can incorrectly resolve to REALLY OLD verisons of dependencies
19
- # if we don't tell it, actually, we're not ready for rack 3. See:
17
+ # Ensure we are using rack 3, with a new sinatra that can use it. Both of these
18
+ # are indirect dependencies, in here only to force bundler NOT to do a weird
19
+ # resolution to old versions of sinatra!
20
20
# https://bibwild.wordpress.com/2023/11/09/beware-sinatra-rails-7-1-rack-3-resque-bundler-dependency-resolution/
21
- gem "rack" , "~> 2.2"
21
+ gem "rack" , ">= 3.0"
22
+ gem "sinatra" , ">= 4.0"
22
23
23
24
# Our JS/CSS/asset bundler
24
25
# After updating, you always need to run `bundle exec vite upgrade` to update JS packages to match
@@ -38,7 +39,7 @@ gem "mail", ">= 2.8.0.rc1", "< 3"
38
39
gem "net-protocol" , "!= 0.2.0"
39
40
40
41
gem "view_component" , "~> 3.9"
41
- gem "alba" , "~> 2.0 " # for JSON serialization of models
42
+ gem "alba" , "~> 3.1 " # for JSON serialization of models
42
43
43
44
# Scout is a monitoring tool we are experimenting with
44
45
gem 'scout_apm'
@@ -159,7 +160,7 @@ gem 'matrix', '~> 0.4'
159
160
160
161
gem "pdf-reader" , "~> 2.2" # simple metadata extraction from pdfs
161
162
gem 'rubyzip' , '~> 2.0'
162
- gem 'browser' , '~> 5 .0' # browser user-agent detection, maybe only for IE-unsupported warning.
163
+ gem 'browser' , '~> 6 .0' # browser user-agent detection, maybe only for IE-unsupported warning.
163
164
164
165
165
166
# Until oai 1.0 is released...
0 commit comments