문제

I just installed Ruboto-irb on my Android device to run the Ruby IRB on it.

The documentation at https://github.com/ruboto/ruboto/wiki/Using-Ruboto-IRB-to-jump-start-development says that one of the best ways to push scripts is to use the demo-irb-server and access it remotely.

How do I start the demo-irb-server on the Android device?

도움이 되었습니까?

해결책

I had no idea what to do so I started typing random stuff on the Ruboto IRB command line on the device. Eventually, the following command worked:

require 'demo-irb-server'

My device was connected to my wireless LAN and its IP was 192.168.0.108.

I then hit http://192.168.0.108:8005 from my desktop computer, and it was able to access the demo IRB server on the Android. I then proceeded to play with scripts, write my own and have fun.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top