2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

fishでdigdagを使う(fish shellでdigdagを使って出るエラーの解消法)

Last updated at Posted at 2018-04-26

fishでdigdag使えない

普通にコマンド叩くと以下のようになります(MacOSX, 10.13.4)

% fish --version
fish, version 2.7.1

% digdag --version
Failed to execute process '/path/to/bin/digdag'. Reason:
exec: Exec format error
The file '/path/to/bin/digdag' is marked as an executable but could not be run by the operating system.

回避方法

1. bash -c

これはfishの解決方法とは言わないと思いますが・・・

%bash -c "digdag --version"
0.9.13

2. java -jar /path/to/digdag

こっちが正しい回避(?)方法です

%java -jar /Users/r.murakami/bin/digdag --version
0.9.13

ただjava実行してるだけ

参考

以下のdigdagのissueで案内されていました
https://github.com/treasure-data/digdag/issues/426#issuecomment-267206850

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?