Skip to content
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

embulk help message show the default path even if I set embulk_home explicitly. #1504

Open
hiroyuki-sato opened this issue Apr 22, 2022 · 0 comments

Comments

@hiroyuki-sato
Copy link
Contributor

Issue Type: Bug Report

  • Write the following environmental information.
    • OS version: macOS 12.3.1
    • Java version: 1.8.0_331
    • Embulk version: 0.10.35

This command specifies embulk_home and jruby path and just shows the embulk help message.

java -jar /path/to/embulk/embulk-0.10.35.jar \
  -X embulk_home=/tmp/embulk_with_space \
  -X jruby file:///path/to/jruby/jruby-complete-9.3.4.0.jar

This command output the following messages.
It contains embulk_home is set by the location of embulk.properties found in: /Users/user/.embulk even I set embulk_home path explicitly.
A user may confuse the path of embulk_home.

Usage: embulk [common options] <command> [command options]

Commands:
   run          Run a bulk load transaction.
   cleanup      Cleanup resume state.
   preview      Dry-run a bulk load transaction, and preview it.
   guess        Guess missing parameters to complete configuration.
   example      Create example files for a quick trial of Embulk.
   selfupdate   Upgrade Embulk to the specified version.
   gem          Run "gem" to install a RubyGem plugin.
   mkbundle     Create a new plugin bundle environment.
   bundle       Update a plugin bundle environment.
   new          Generate new plugin template

Common options:
   -h, --help                Print help
   -version, --version       Show Embulk version
   -l, --log-level LEVEL     Set log level (error, warn, info, debug, trace)
       --log-path PATH       Output log messages to a file (default: -)
   -X KEY=VALUE              Set Embulk system properties
   -R OPTION                 Command-line option for JRuby. (Only '--dev')

2022-04-22 10:50:11.566 +0900 [INFO] (main): embulk_home is set by the location of embulk.properties found in: /Users/user/.embulk
2022-04-22 10:50:11.569 +0900 [INFO] (main): m2_repo is set as a sub directory of embulk_home: /Users/user/.embulk/lib/m2/repository
2022-04-22 10:50:11.569 +0900 [INFO] (main): gem_home is set as a sub directory of embulk_home: /Users/user/.embulk/lib/gems
2022-04-22 10:50:11.569 +0900 [INFO] (main): gem_path is set empty.

When I use some command (i.e: embulk gem install) the message outputs the expected path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant