Hide Forgot
Problem: The Rails gems all have strict version dependencies. When rubygem-activesupport was bumped to 4.0.2, the rest of the gems cannot be installed. Here's a sample failure mock build (my package BuildRequires rubygem-activesupport): Error: Package: rubygem-railties-4.0.1-1.fc21.noarch (fedora) Requires: rubygem(activesupport) = 4.0.1 Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora) rubygem(activesupport) = 4.0.2 Error: Package: 1:rubygem-activerecord-4.0.1-2.fc21.noarch (fedora) Requires: rubygem(activesupport) = 4.0.1 Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora) rubygem(activesupport) = 4.0.2 Error: Package: 1:rubygem-actionpack-4.0.1-1.fc21.noarch (fedora) Requires: rubygem(activemodel) = 4.0.1 Available: rubygem-activemodel-4.0.2-1.fc21.noarch (fedora) rubygem(activemodel) = 4.0.2 Error: Package: 1:rubygem-activerecord-4.0.1-2.fc21.noarch (fedora) Requires: rubygem(activemodel) = 4.0.1 Available: rubygem-activemodel-4.0.2-1.fc21.noarch (fedora) rubygem(activemodel) = 4.0.2 Error: Package: 1:rubygem-rails-4.0.1-1.fc21.noarch (fedora) Requires: rubygem(activesupport) = 4.0.1 Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora) rubygem(activesupport) = 4.0.2 Error: Package: 1:rubygem-activerecord-4.0.1-2.fc21.noarch (fedora) Requires: rubygem(activesupport) = 4.0.1 Available: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora) rubygem(activesupport) = 4.0.2 Error: Package: 1:rubygem-actionpack-4.0.1-1.fc21.noarch (fedora) Requires: rubygem(activesupport) = 4.0.1 Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora) rubygem(activesupport) = 4.0.2
Hi Ken, This is not that much a problem of dependencies, but problem of failed chainbuild due to circular dependencies between AR and AR_deprecated_finders. The intention was to update all dependencies to 4.0.2. Hopefully Josef will fix it soon.
Hi, Vit is right, although currently I am stuck with SQLite3 issue[1] (new sqlite in rawhide). I will try to rebuild rest of the Rails packages tomorrow. [1] https://github.com/sparklemotion/sqlite3-ruby/issues/116
Hi Josef, thanks a lot for explaining the root problem. As a workaround I've copied rubygem-activesupport-4.0.1-1.fc21 and rubygem-activemodel-4.0.1-1.fc21 to my private repository and built against those.
Ken, I fixed the ActiveRecord with a patch that I provided upstream and rebuild the rest of Rails. Rails 4.0.2 build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6284037