-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running jbundle install: Errno::ENOENT: No such file or directory - pkg/dependencies.txt #75
Comments
hmm, does not look like maven gets executed at all - at least I do not see the expected maven debug log. could you try to execute
will make some time for it tomorrow.
|
@mkristian sorry for the double filing of this issue. Github was acting up this morning and wasn't showing that it had created successfully. I'll close the duplicate issue. |
thanks, I do fight with no responsive pages as well from time to time, vpn has hickups or github or system starts swapping . . . :) |
@mkristian BTW - it doesn't look like the command you wanted me to run pasted correctly. Please see your previous comment. |
|
and the last one was empty again :( |
Same problem here. What is edit: to answer my own question, it's from the jar-dependencies gem, though wasn't runnable via |
@xxx jar-dependencies is default gem maybe jruby is still doing something wrong with its default gems and their executables. just add |
Had a similar problem, but after running lock_jars (after setting up the bundle) ended up getting: My env was using java6, once I flipped it over to java 8:
on Mac OS X El Capitan (assuming you have java 8 installed as well) I was able to jbundle install successfully. Not sure if this will solve your issue, but figured I'd throw it out there. |
We are facing this issue, and do not have any resolution for it. We haven't changed any dependencies in our project and this error popped all of a sudden. The debug logs also do not show any other logs other than the error. @mkristian |
This issue was caused by a recent update to ruby-maven 3.3.13 |
@punit-kulal any chance you could provide a small sample project where I can reproduce the error, that would be very helpful. missing pkg/dependencies.txt that the maven run failed. |
I had the same issue and the downgrade of FROM jruby:9.3.6.0
WORKDIR /test
RUN gem install ruby-maven -v 3.3.12 # Comment this line out to make it fail.
RUN gem install jbundler
RUN echo "jar 'org.yaml:snakeyaml', '1.14'" > Jarfile
RUN jbundle As it is, the dockerfile will succeed, however when commenting out the line that installs a non-
Even though this clearly makes
|
thanks this was very helpful, I 'found the regression happens between io.takari.polyglot:polyglot-ruby:0.4.4 and io.takari.polyglot:polyglot-ruby:0.4.5 |
I ran into this today as well. The recent version of this problem seems to be down to this change takari/polyglot-maven#221 In https://github.com/takari/polyglot-maven/blob/polyglot-0.4.9/polyglot-common/src/main/java/org/sonatype/maven/polyglot/TeslaModelProcessor.java#L161-L172 when maven is executed with the argument of |
We are running into this error every time we run
jbundle install
using jbundler 0.9.3Not sure why it started happening or where to begin fixing this. We also tried version 0.9.2 and it also happens. Here is the error and debug output:
bundle exec jbundle install --debug ... mvn dependency:list -f /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/gems/jbundler-0.9.3/lib/jbundler/dependency_pom.rb -Dverbose=true -X -DexcludeTransitive=false -Djbundler.outputFile=/Users/<user>/projects/project/pkg/dependencies.txt -Djbundler.basedir=/Users/<user>/projects/project -Djbundler.jarfile=/Users/<user>/projects/project/Jarfile -Djbundler.gemfile=/Users/<user>/projects/project/Gemfile -Djbundler.workdir=/Users/<user>/projects/project/pkg -Djbundler.groups -Djbundler.bootstrap -Dmaven.repo.local=/Users/<user>/.m2/repository mvn dependency:list -f /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/gems/jbundler-0.9.3/lib/jbundler/dependency_pom.rb -Dverbose=true -X -DexcludeTransitive=false -Djbundler.outputFile=/Users/<user>/projects/project/pkg/dependencies.txt -Djbundler.basedir=/Users/<user>/projects/project -Djbundler.jarfile=/Users/<user>/projects/project/Jarfile -Djbundler.gemfile=/Users/<user>/projects/project/Gemfile -Djbundler.workdir=/Users/<user>/projects/project/pkg -Djbundler.groups -Djbundler.bootstrap -Dmaven.repo.local=/Users/<user>/.m2/repository Errno::ENOENT: No such file or directory - /Users/<user>/projects/project/pkg/dependencies.txt read at org/jruby/RubyIO.java:3592 install_dependencies at /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/gems/jbundler-0.9.3/lib/jbundler/lock_down.rb:113 lock_down at /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/gems/jbundler-0.9.3/lib/jbundler/lock_down.rb:54 install at /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/gems/jbundler-0.9.3/lib/jbundler/cli.rb:80 run at /Users/<user>/.rvm/gems/jruby-9.0.1.0@global/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/command.rb:27 invoke_command at /Users/<user>/.rvm/gems/jruby-9.0.1.0@global/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126 dispatch at /Users/<user>/.rvm/gems/jruby-9.0.1.0@global/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor.rb:359 start at /Users/<user>/.rvm/gems/jruby-9.0.1.0@global/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/base.rb:440 <top> at /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/gems/jbundler-0.9.3/bin/jbundle:47 load at org/jruby/RubyKernel.java:957 <top> at /Users/<user>/.rvm/gems/jruby-9.0.1.0@project/bin/jbundle:1
Here is our Jarfile:
The text was updated successfully, but these errors were encountered: