How to encode / run Ruby on a Chromebook

On the desktop, I can use a text editor with a ruby ​​interpreter to run everything, but there’s no interpreter for Chromebook. Is there any online software / program / webapp that allows you to run Ruby code or emulate it? Like Codeacademy, where you put your stuff in one section and display the results in another section of the "console".

I found something called OpenShift, and I wonder if it can download the .rb file and run it or something else so that I can see what I'm doing.

+6
source share
8 answers

One great online code editor to keep in mind is Github. You can create and edit files directly in the browser. You can then register for a free Heroku account or a free Amazon EC2 tier. Heroku can pull directly from your Github project. EC2 can give you a complete working environment, although you will have to configure it the same way as on your machine.

+1
source

Install linux with Crouton and you can run / install libs, etc. as you need

Just found another way: launch Ultimate Servers from your Android phone or tablet and access via a Wi-Fi hotspot

+6
source

Here are a few web IDEs that support Ruby.

There's also a Chrome extension called SourceKit , which is a bit like TextMate, but saves files directly to Dropbox. However, this will not be enough to actually run the code ...

+5
source

Nitrous has a powerful chrome app with built-in keyboard shortcuts for the IDE and a number of popular starter templates, including ruby. The first container is 100% free, you can check the chrome application here:

https://chrome.google.com/webstore/detail/nitrous-pro/efdcneeepllhjlbejkfnaolelbpdacai

enter image description here

enter image description here

enter image description here

+2
source

Yes there is, try the tutorialspoint here.

Click Try

enter image description here

enter image description here

+1
source

My friend is a Chromebook user / programmer, and I’m thinking about following him.

He knows VIM and does all his development on a linux instance that costs $ 10 / mo at linode.com. I think the Chromebook paradigm is that you store your actions inside Chrome.

You can lose a lot of time by saving the development environment on your laptop, regardless of its OS.

In the meantime, VPS can be used from anywhere, even when your laptop dies or you forget your power cable at home.

If you are new to software development, I bet Cloud9 is the best place to start, although I haven't tried it yet.

0
source

Installing Linux on a Chromebook these days is very easy. See, for example, the Arch wiki explaining the process:

https://wiki.archlinux.org/index.php/Chrome_OS_devices

0
source

Install anaconda first.

Then conda install -c ruby-lang ruby

Source: https://anaconda.org/ruby-lang/ruby

0
source

All Articles