-
Notifications
You must be signed in to change notification settings - Fork 204
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
Warble on Win10 stalls without any information #517
Comments
I have found problem. in file jruby-9.3.4.0\lib\ruby\gems\shared\gems\warbler-2.0.5\lib\warbler\traits\bundler.rb Current loop: while ! full_gem_path.join('bundler.gemspec').exist?
full_gem_path = full_gem_path.dirname
# if at top of the path, meaning we cannot find bundler.gemspec, abort.
if full_gem_path.to_s =~ /^[\.\/]$/ ###############################
warn("Unable to detect bundler spec under '#{spec.full_gem_path}'' and its sub-dirs")
exit
end
end Line with hashes is exit condition that is never met on Windows system. Windows Root path will look like Another problem is that jruby installer / zip / jar does not have
I have reinstalled it with After that is worked flawlessly. Should I make PR with these changes? |
I encountered the The issue does not occur in jruby 9.3.4.0 on JDK 16. This is holding up the ability to package Glimmer DSL for SWT applications on Windows with jruby 9.3.6.0 on JDK18. In the meantime, I am downgrading users to jruby 9.3.4.0 and JDK 16 on Windows as a workaround. |
@kares does the warbler gem need an update given the latest changes in bundler, jruby 9.3.6.0, and JDK 18? I am curious to know your opinion after you try to reproduce this issue on Windows 10. |
That fix worked for me too. Apparently, the freezing is related to the fact that the bundler gem included in JRuby does not have a gemspec (if I understood correctly). Another fix was to simply install the latest bundler:
I included that fix in Glimmer DSL for SWT v4.24.1.3, so now it works on Windows 10 with JRuby 9.3.6.0 and JDK 18. That is because it now automatically installs the latest bundler upon scaffolding a new application.
@K4sku , the code changes you mentioned were not needed for me to resolve the warbler issue. By installing a bundler with a gemspec, the problem resolved itself of its own. Also, there is an existing PR (#494) that will take that @deivid-rodriguez Is this a good time to finally finalize and merge this PR? #494 @headius Should this warbler freezing issue be fixed in the next JRuby version by ensuring that a gemspec exists within the included |
I don't have much time at the moment, but I rebased it and I'll have a look at CI. Your understanding is correctly. The code should not be needed and knowing it actually causes issues should be another motivation to remove it. |
I rebased my PR and added a few things.
Still getting two spec failures, which I need to have a look at. For starters I think #521 and #520 can be merged right away. |
When I run any warbler command nothing happens. Console just says on task.
It's repetive on 2 windwos 10 machines. One is my daily computer, other was a clean win10 install.
Steps:
gem install warbler
warble config
orwarble
Any clues what could be the issue here? How I can debug it?
The text was updated successfully, but these errors were encountered: