-
Notifications
You must be signed in to change notification settings - Fork 26
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
undefined method `split' for nil:NilClass #47
Comments
Hi @VTDuyen1 - It looks like the code is failing because your PATH environment variable is coming back nil/null. If you open a termnial on this same machine and do a |
@VTDuyen1 this particular code is checking to make sure you have the required dependencies installed before it can start the process. I can add an override to ignore the checks if for whatever reason the machine you're using doesn't have a $PATH which it technically should always. |
Hi @isonic1, I get the result: Please tell me what this PATH is missing. I really need "flick" to record the automated testing process, so I look forward to hearing from you soon. |
Hi @isonic1 , Can you tell me if I am missing any environment variables? |
Hi everybody!
I am having the problem:
/Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/user_interaction.rb:359:in
method_missing': undefined method
split' for nil:NilClass (NoMethodError)from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/checker.rb:5:in
which' from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/checker.rb:15:in
system_dependency'from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/ios.rb:36:in
devices' from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/ios.rb:41:in
devices_connected?'from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/ios.rb:45:in
check_for_devices' from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/ios.rb:52:in
get_device_udid'from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/ios.rb:6:in
initialize' from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/video.rb:13:in
new'from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/lib/flick/video.rb:13:in
initialize' from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/bin/flick:34:in
new'from /Library/Ruby/Gems/2.6.0/gems/flick-0.4.6/bin/flick:34:in
block (2 levels) in <top (required)>' from /Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/command.rb:182:in
call'from /Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/command.rb:153:in
run' from /Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/runner.rb:446:in
run_active_command'from /Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/runner.rb:68:in
run!' from /Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/delegates.rb:15:in
run!'from /Library/Ruby/Gems/2.6.0/gems/commander-4.4.7/lib/commander/import.rb:5:in `block in <top (required)>'
Does anyone have a solution to this problem? I was really worried when it took 2 work days to find the answer to it.
The text was updated successfully, but these errors were encountered: