Open bdovaz opened 4 years ago
u3d --help
I get the following error:
undefined method `root_path' for nil:NilClass (NoMethodError)
C:\WINDOWS\system32>u3d install 2019.4.0f1 -p Unity,Android-ndk --installation_path "D:\Unity\Unity_2019.4.0f1" --trace Root privileges are requirednity 2019.4.0f1 is already downloaded Android NDK is already downloaded ------------------------------------------- --- Installing Unity 2019.4.0f1 (Unity) --- ------------------------------------------- Installing with C:/Users/jenkins/Downloads/Unity_Packages/2019.4.0f1/UnitySetup64.exe $ C:/Users/jenkins/Downloads/Unity_Packages/2019.4.0f1/UnitySetup64.exe -UI=reduced /S /D=D:\Unity\Unity_2019.4.0f1 No pty implementation found. Falling back to popen. Output might be buffered Successfully installed Unity 2019.4.0f1 -------------------------------------------- --- Installing Android NDK (Android-ndk) --- -------------------------------------------- Installing with C:/Users/jenkins/Downloads/Unity_Packages/2019.4.0f1/android-ndk-r19-windows-x86_64.zip Traceback (most recent call last): 16: from C:/tools/ruby27/bin/u3d:23:in `<main>' 15: from C:/tools/ruby27/bin/u3d:23:in `load' 14: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/exe/u3d:7:in `<top (required)>' 13: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:41:in `start' 12: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:263:in `run' 11: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/delegates.rb:15:in `run!' 10: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/runner.rb:68:in `run!' 9: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/runner.rb:446:in `run_active_command' 8: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/command.rb:153:in `run' 7: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/command.rb:182:in `call' 6: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:176:in `block (2 levels) in run' 5: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands.rb:169:in `install' 4: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:58:in `install_modules' 3: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:58:in `each' 2: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:61:in `block in install_modules' 1: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:477:in `install' C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:108:in `install_zip': undefined method `root_path' for nil:NilClass (NoMethodError)
Issue Checklist
u3d --help
Issue Description
I get the following error:
undefined method `root_path' for nil:NilClass (NoMethodError)