Open dentarg opened 1 day ago
Hard to tell because releases aren't tagged, but I think it was solved in https://github.com/jruby/ruby-maven/commit/85717266781b0a02e1053dd1b95d58e5c492ce1d
Latest available ruby-maven release is 3.3.13 January 24, 2022 (10 KB)
https://rubygems.org/gems/ruby-maven/versions and that commit is from Sep 1 so probably not fixed in anything released
Not sure how to test that pre-release
$ docker run -it --rm jruby:9.4.9.0 bash
root@899a8c81af91:/# gem install ruby-maven -v 3.9.0.pre1
Fetching ruby-maven-libs-3.9.9.gem
Fetching ruby-maven-3.9.0.pre1.gem
Successfully installed ruby-maven-libs-3.9.9
Successfully installed ruby-maven-3.9.0.pre1
2 gems installed
root@899a8c81af91:/# gem list ruby-maven
*** LOCAL GEMS ***
ruby-maven (3.9.0.pre1)
ruby-maven-libs (3.9.9)
root@899a8c81af91:/# export RUBYOPT="--enable-frozen-string-literal --debug-frozen-string-literal"
root@899a8c81af91:/# gem install psych
Fetching psych-5.2.0-java.gem
jar dependencies for psych-5.2.0-java.gemspec . . .
Installing gem 'ruby-maven' . . .
Fetching ruby-maven-3.3.13.gem
Fetching ruby-maven-libs-3.3.9.gem
Successfully installed ruby-maven-libs-3.3.9
Successfully installed ruby-maven-3.3.13
using maven for the first time results in maven
downloading all its default plugin and can take time.
as those plugins get cached on disk and further execution
of maven is much faster then the first time.
ERROR: While executing gem ... (FrozenError)
can't modify frozen String, created at /usr/local/bundle/gems/ruby-maven-3.3.13/lib/ruby_maven.rb:25
...
https://rubygems.org/gems/psych/versions/5.2.0-java depends on https://rubygems.org/gems/jar-dependencies that depends on https://rubygems.org/gems/ruby-maven ~> 3.3.11
Yeah, probably just need a release. FYI: @headius
@dentarg We're working on it... I'll try to get it released by Monday.
Something I noticed in Sinatra CI
cc @byroot