Open dagio opened 8 years ago
Thanks for the report!
Can you please copy paste the output of:
which stepman
which envman
which bitrise
?
I suspect you have stepman
installed somewhere, or maybe a download failed.
If the download failed, probably the easiest fix is:
rm -rf ~/.bitrise/tools
To delete all the bitrise CLI tools. After that, a new bitrise setup
should attempt to download the tools again.
In any case, a better error message, and a download retry logic for the tools would be an awesome addition.
@godrei please add this to our Trello
~
❯ which stepman
stepman not found
~
❯ which envman
envman not found
~
❯ which bitrise
/usr/local/bin/bitrise
The fix that you suggested works !
~
❯ rm -rf ~/.bitrise/tools
Then :
~
❯ bitrise setup --full
██████╗ ██╗████████╗██████╗ ██╗███████╗███████╗
██╔══██╗██║╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝
██████╔╝██║ ██║ ██████╔╝██║███████╗█████╗
██╔══██╗██║ ██║ ██╔══██╗██║╚════██║██╔══╝
██████╔╝██║ ██║ ██║ ██║██║███████║███████╗
╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚══════╝╚══════╝
Version: 1.3.7
INFO[15:12:30] Setup
INFO[15:12:30] Full setup: true
INFO[15:12:30] Detected OS: darwin
INFO[15:12:30] Doing OS X specific setup
INFO[15:12:30] Checking required tools...
INFO[15:12:51] * [OK] Homebrew : /usr/local/bin/brew
INFO[15:12:51] version : Homebrew 0.9.9 (git revision 8e29cf; last commit 2016-08-28)
Homebrew/homebrew-core (git revision 3220; last commit 2016-08-30)
INFO[15:12:51] * [OK] xcodebuild path : /usr/bin/xcodebuild
INFO[15:12:51] version (xcodebuild) : Xcode 7.3.1 | Build version 7D1014
INFO[15:12:51] active Xcode (Command Line Tools) path (xcode-select --print-path) : /Applications/Xcode.app/Contents/Developer
WARN[15:12:51] No supported envman version found.
INFO[15:12:51] You can find more information about envman on it's official GitHub page: https://github.com/bitrise-io/envman
INFO[15:12:51] Installing...
INFO[15:12:58] * [OK] envman : /Users/damiengavard/.bitrise/tools/envman
INFO[15:12:58] version : 1.1.0
WARN[15:12:58] No supported stepman version found.
INFO[15:12:58] You can find more information about stepman on it's official GitHub page: https://github.com/bitrise-io/stepman
INFO[15:12:58] Installing...
INFO[15:13:01] * [OK] stepman : /Users/damiengavard/.bitrise/tools/stepman
INFO[15:13:01] version : 0.9.22
INFO[15:13:01] * [OK] Plugin (analytics) : /Users/damiengavard/.bitrise/plugins/analytics
INFO[15:13:01] version : 0.9.4
INFO[15:13:01] All the required tools are installed!
INFO[15:13:01] We're ready to rock!!
INFO[15:13:01] To start using bitrise:
INFO[15:13:01] * cd into your project's directory (if you're not there already)
INFO[15:13:01] * call: bitrise init
INFO[15:13:01] * follow the guide
INFO[15:13:01] That's all :)
Thanks for the logs, I believe this issue was caused by a failed stepman
tool download - so after that Bitrise CLI detected that stepman
is available, but as the download was interrupted it was not a valid binary, so a stepman -version
call would fail.
We'll definitely fix this, thanks again for reporting and for the details!
When I execute
bitrise setup
, I have an error :Stepman failed to install: Failed to get version
In case we need to have
envman
in $PATH, I do not have it :