diff --git a/lib/motion/command/device_console.rb b/lib/motion/command/device_console.rb index daabaa4c..cda30617 100644 --- a/lib/motion/command/device_console.rb +++ b/lib/motion/command/device_console.rb @@ -36,7 +36,7 @@ module Motion; class Command self.summary = 'Print iOS device logs' def run - deploy = File.join(File.dirname(__FILE__), '../../../../bin/ios/deploy') + deploy = File.join(File.dirname(__FILE__), '../../../bin/ios/deploy') devices = `\"#{deploy}\" -D`.strip.split(/\n/) if devices.empty? $stderr.puts "No device found on USB. Connect a device and try again."