Open balaji-sunku opened 3 years ago
did you find solution?
No. I didn't try after posting the problem here.
Please post the solution if you can solve it.
On Thu, Oct 21, 2021 at 2:30 PM jaydip430 @.***> wrote:
did you find solution?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cesarferreira/dryrun/issues/139#issuecomment-948404678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOOQTCD7IGD37U4PBGN3TTUH7JCNANCNFSM5BF7WFCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I don't use mac but I am getting the same problem as"JAVA_HOME" is not directory then I add JAVA_HOME to my windows environmental variable by using youtube videos
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Error while running the install command
sudo gem install dryrun
Building native extensions. This could take a while... ERROR: Error installing dryrun: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20210729-27638-l5q485.rb extconf.rb The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java.
extconf.rb failed Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME) extconf.rb:40:in `': JAVA_HOME is not directory. (RuntimeError)
extconf failed, exit code 1
Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/rjb-1.6.4 for inspection. Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-20/2.6.0/rjb-1.6.4/gem_make.out