+ 1

What's a good app to run ruby code (or multiple code languages) on Android, but OFFLINE?

So you know the Code Playground here on SoloLearn? Does anyone know of an app like that, but doesn't need internet? I don't always have access to the internet, so having something to check my ruby codes would be good to have when I don't have internet. Also, if there even is something like this as an offline app, is there an offline app that can run multiple different code languages? Code Playground doesn't work offline. At least I've never been able to get it to do so.

1st Nov 2017, 5:12 AM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
42 Respuestas
+ 1
Then use "cd /sdcard" and then "ruby <your filename>.rb".
1st Nov 2017, 10:11 PM
Private [GER]
Private [GER] - avatar
+ 1
Oooh that make more sense lol
1st Nov 2017, 9:23 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
+ 1
Okay ^-^
1st Nov 2017, 9:31 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
+ 1
Sorry for late reply
1st Nov 2017, 10:10 PM
Private [GER]
Private [GER] - avatar
+ 1
Yeah! I got it to work :3
1st Nov 2017, 10:16 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
+ 1
Thanx for all of your help ^-^
1st Nov 2017, 10:16 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
+ 1
Okay ^-^ thanx again
1st Nov 2017, 10:36 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
You can download Termux, it gives you a Linux shell with Ruby support. If you want to do this, just answer again, I'll help.
1st Nov 2017, 8:35 PM
Private [GER]
Private [GER] - avatar
0
I think I saw that one on the app store. But yeah sure that would work for me
1st Nov 2017, 8:36 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
Wait, App store or Play Store
1st Nov 2017, 8:38 PM
Private [GER]
Private [GER] - avatar
0
Termux is android only.
1st Nov 2017, 8:39 PM
Private [GER]
Private [GER] - avatar
0
Play Store
1st Nov 2017, 8:39 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
Okay. Well, download it, then run "pkg install ruby", then use "cd /sdcard". Then you just use cd to navigate to your ruby file which you can then run with "ruby <filename>".
1st Nov 2017, 8:40 PM
Private [GER]
Private [GER] - avatar
0
Okay thanx ^-^
1st Nov 2017, 8:41 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
If you need help, just ask. =)
1st Nov 2017, 8:41 PM
Private [GER]
Private [GER] - avatar
0
how do you erase previous lines? I have a bunch of random code everywhere that I can't erase lol
1st Nov 2017, 8:55 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
"clear"
1st Nov 2017, 9:05 PM
Private [GER]
Private [GER] - avatar
0
Oh okay. Thanks.
1st Nov 2017, 9:08 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
Also, how do you make the ruby script "output" what you type? say for example, I had arr = [1, 2, 3] arr << 4 puts arr How do I make it output the result?
1st Nov 2017, 9:10 PM
< C Y N I C Y S T I C >
< C Y N I C Y S T I C > - avatar
0
That would output [1, 2, 3, 4]
1st Nov 2017, 9:12 PM
Private [GER]
Private [GER] - avatar