-
Notifications
You must be signed in to change notification settings - Fork 4
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
gemPush failed even $HOME/.gem/credential setting properly. #141
Comments
Did you try another JRuby version? |
@dmikurube Thank you for your reply It caused plugins {
id "java"
id "checkstyle"
id "maven-publish"
id "org.embulk.embulk-plugins" version "0.5.5"
id "signing"
}
// ...
gemPush {
// host = "https://rubygems.org"
host = "http://localhost:9292"
jruby = "org.jruby:jruby-complete:9.2.21.0"
} Do I need update gradle?
|
The Gradle plugin too old? |
Yes. It still use old Gradle plugin. So, I changed the Gradle plugin version in my environment. --git a/build.gradle b/build.gradle
index d4e1f9f..482d98c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,7 +2,7 @@ plugins {
id "java"
id "checkstyle"
id "maven-publish"
- id "org.embulk.embulk-plugins" version "0.4.2"
+ id "org.embulk.embulk-plugins" version "0.5.5"
id "signing"
}
repositories {
@@ -106,7 +106,9 @@ gem {
}
gemPush {
- host = "https://rubygems.org"
+// host = "https://rubygems.org"
+ host = "http://localhost:9292"
+ jruby = "org.jruby:jruby-complete:9.2.21.0"
}
tasks.withType(JavaCompile) { |
Ah, got it. It may need to add the following in
|
Created: #142 |
Released it as v0.6.0: https://plugins.gradle.org/plugin/org.embulk.embulk-plugins |
Thanks! Local test results
|
Thanks for checking! Then we may want to upgrade the default JRuby for gem and gemPush... |
9.2.21.0 may resolve this issue. But, the current implementation have another issue. It prints check codeExecuting: `java org.jruby.Main -rjars/setup -S gem push /path/to/embulk-filter-calc/build/gems/embulk-filter-calc-0.2.1.pretest-java.gediff --git a/build.gradle b/build.gradle
index fb41948..f03ff72 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,14 +4,14 @@ plugins {
id "antlr"
id "maven-publish"
id "signing"
- id "org.embulk.embulk-plugins" version "0.5.5"
+ id "org.embulk.embulk-plugins" version "0.6.0"
}
repositories {
mavenCentral()
}
group = "io.github.hiroyuki-sato"
-version = "0.2.1-SNAPSHOT"
+version = "0.2.1.pretest"
description = "Caculator filter plugin for Embulk"
@@ -189,6 +189,7 @@ gem {
gemPush {
host = "https://rubygems.org"
+ jruby = "org.jruby:jruby-complete:9.2.21.0"
}
tasks.withType(JavaCompile) { Current behavior (JRuby 9.2.7.0)
9.2.21.0
|
JRuby 9.3.11.0 and 9.4.3.0 doesn't work too. But the problem relates to JRuby issue. |
gradlew gemPush
failed even $HOME/.gem/credential setting properly.MRI gem worked properly even no setting changed.
(Ruby 3.2.2, gem 3.4.19)
I think It relates to JRuby issue.
environment
log
log2.txt
The text was updated successfully, but these errors were encountered: