はじめに
時々、gauge javaのバージョンを変えるのですが、自分の記事に書いていなかったので自分用にまとめます
問題
以下のエラーが発生します
理由は謎ですので、直接バージョンを変えていきます
$ gauge install java
Failed to install plugin 'java'.
Reason: Invalid plugin name or there's a network issue while fetching plugin details.
解決方法
以下からほしいバージョンを取得します (javaで今回はやります)
ダウンロードしたら解凍します
3つありました
これを必要な箇所に配置します(今回はjava0.9.1
でやります)
$ cd ~/.gauge/plugins/java
$ mkdir 0.9.1 // your version
$ cd 0.9.1
$ xdg-open . // ディレクトリを開く
解答したlibs
、gauge-java
、java.json
をいれる
$ gauge -v
Gauge version: 1.4.3
Commit Hash: f98dd40
Plugins
-------
html-report (4.2.0)
java (0.9.1)
play-cdc (0.1.4)
python (0.3.17)
screenshot (0.1.0)