Closed ijdickinson closed 3 years ago
My guess is that something is failing to require 'rdf'
, which brings in the auto-load for rdf/model/literal
. It will take some work to see what might have changed to affect this dependency chain. You might try adding a require 'rdf'
in your app setup.
What explicit requires are done to RDF gems?
i'm seeing reports from users of https://github.com/samvera/hyrax that this is happening during install processes.
i haven't tried to reproduce yet, but can give it a look and see whether i can identify the root cause.
Installing the gem, it looks like a file permission problem; the file is there, but it is 600. Must be some problem in packaging the gem. Best is probably to re-release and yank 3.1.14.
[rdf] ls -l ~/.rvm/gems/ruby-3.0.1/gems/rdf-3.1.14/lib/rdf/model/
total 304
-rw-r--r-- 1 gregg staff 3556 Jun 14 09:50 dataset.rb
-rw-r--r-- 1 gregg staff 11066 Jun 14 09:50 graph.rb
-rw-r--r-- 1 gregg staff 28937 Jun 14 09:50 list.rb
drwxr-xr-x 11 gregg staff 352 Jun 14 09:50 literal
-rw------- 1 gregg staff 19706 Jun 14 09:50 literal.rb
-rw-r--r-- 1 gregg staff 4846 Jun 14 09:50 node.rb
-rw-r--r-- 1 gregg staff 615 Jun 14 09:50 resource.rb
-rw-r--r-- 1 gregg staff 14581 Jun 14 09:50 statement.rb
-rw-r--r-- 1 gregg staff 2861 Jun 14 09:50 term.rb
-rw-r--r-- 1 gregg staff 44983 Jun 14 09:50 uri.rb
-rw-r--r-- 1 gregg staff 6697 Jun 14 09:50 value.rb
I released 3.1.15 and yanked 3.1.14. A local install verifies the proper permissions (at least for literal.rb). Not sure how permissions might have been messed up.
Let me know if that solves the problem.
Thanks @gkellogg, I'll give that a go tomorrow!
Confirm that the issue we were seeing is fixed by 3.1.15. Thanks for the quick resolution, @gkellogg and @no-reply .
I have a strange issue that I want to report, even though I don't have a complete characterisation yet.
I've just done a
bundle update
on one of our Rails apps, and that pulled inrdf 3.1.14
. At which point, the app failed to start with this stacktrace (trimmed for brevity) in the log file:If I coerce the version to stay below 3.1.14:
the app starts up as normal.
What puzzles me is that, as far as I can see,
rdf/models/literal.rb
has been installed as part of thebundle install
, so I don't really understand where the error is arising from.Would welcome any suggestions, or probes to try!