How should I resolve LoadError for java/util/List in JRuby? #7810
Unanswered
DashwoodIce9
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to use the
sass-embedded
rubygem withJRuby
.sass-embedded
has a dependency on Google's Protocol Buffers which I have installed. Now whenever I try to run a ruby script withrequire 'sass-embedded'
I am getting the following error -my_file.rb
Descriptor.getRealOneOffs()
sass-embedded
version - 1.58.3google-protobuf
version - 3.23.1jruby -v
->jruby 9.3.6.0 (2.6.8) 2022-06-27 7a2cbcd376 OpenJDK 64-Bit Server VM 25.332-b08 on 1.8.0_332-b08 +jit [x86_64-linux]
How do I go about debugging this error? From my understanding it's saying that it cannot find
java/util/List
class. But I don't get why that's happening. Shouldn't it be able to find that from the JDK it's using to run itself?Note - I am trying to run this program at my work. My workplace uses internal build tools for everything, so it may very well be a bug with those tools. But I don't know where to look right now to solve the issue. If someone can help me figure out that
x
is the reason this problem occurs, then I'll try to implement the fix for thatx
in the build tools used at my workplace.Beta Was this translation helpful? Give feedback.
All reactions