I try develop automatic test on Android device. I use Calabash and Ruby on Rails, version 2.1.2
I execute command:
calabash-android console aplikacja.apk -p tablet
After this I execute command in console:
/home/maciek/.rvm/gems/ruby-2.1.2/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /home/maciek/.rvm/gems/ruby-2.1.2 in PATH, mode 040777
/home/maciek/.rvm/gems/ruby-2.1.2/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /home/maciek/.rvm/gems/ruby-2.1.2 in PATH, mode 040777
2.1.2 :001 >start_test_server_in_background
After this I get error:
NameError: undefined local variable or method `start_test_server_in_background' for main:Object
from (irb):1
from /home/maciek/.rvm/rubies/ruby-2.1.2/bin/irb:11:in `<main>'
I use real device - Samsung Galaxy Tab 2 7" with Android 4.1.1
What is wrong?