Actions
Patch #43266
closedUpdate activerecord-sqlserver-adapter to 8.0
Start date:
Due date:
% Done:
0%
Estimated time:
Description
`bundle update` failed to r24016.
% bundle update Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Could not find compatible versions Because rails >= 8.0.2.1, < 8.0.3 depends on activerecord = 8.0.2.1 and activerecord-sqlserver-adapter >= 7.2.0, < 8.0.0 depends on activerecord ~> 7.2.0, rails >= 8.0.2.1, < 8.0.3 is incompatible with activerecord-sqlserver-adapter >= 7.2.0, < 8.0.0. So, because Gemfile depends on rails = 8.0.2.1 and Gemfile depends on activerecord-sqlserver-adapter ~> 7.2.0, version solving has failed.
The patch below resolves this issue.
diff --git a/Gemfile b/Gemfile
index 189004a83b..e7f12f037b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -82,7 +82,7 @@ if File.exist?(database_file)
gem 'sqlite3', '~> 2.5.0'
when /sqlserver/
gem 'tiny_tds', '~> 2.1.2'
- gem 'activerecord-sqlserver-adapter', '~> 7.2.0'
+ gem 'activerecord-sqlserver-adapter', '~> 8.0.8'
else
warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
end
ref. https://rubygems.org/gems/activerecord-sqlserver-adapter
Related issues
Updated by Go MAEDA 2 days ago
- Related to Feature #43205: Update to Rails 8 added
Updated by Marius BĂLTEANU 1 day ago
- Status changed from New to Resolved
- Assignee set to Marius BĂLTEANU
Updated by Marius BĂLTEANU 1 day ago
- Status changed from Resolved to Closed
- Target version deleted (
7.0.0)
Actions