Question

On the desktop, I can use a text editor with the ruby interpreter to run everything, but there isn't an interpreter available for Chromebook. Is there any online software/program/webapp that would let me run Ruby code or emulate it? Kind of like Codeacademy where you put your stuff into the one section and it displays the results in another 'console' section.

I found something called OpenShift, and I'm wondering if it would let me upload a .rb file and have it run or something so I can see what I'm making.

Était-ce utile?

La solution 3

One great online code editor to keep in mind is Github. You can create and edit files right in the browser. You could then sign up for a free Heroku account or the free tier of Amazon EC2. Heroku can pull directly from your Github project. EC2 can give you a complete environment to work in, though you'll have to set it up yourself just like you would on your own machine.

Autres conseils

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

Just found another way...run Servers Ultimate from your Android phone or tablet and access through the hotpoint wifi

Here are some web IDEs that support Ruby.

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

Yes there is, Try here tutorialspoint.

Click Try it

enter image description here

enter image description here

Nitrous has a powerful chrome application with native keyboard shortcuts for the IDE, and a number of popular starter templates, including ruby. The first container is 100% free, you can check out 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

A friend of mine is a Chromebook user / software engineer and I'm thinking of following him.

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

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

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

If you're new to software development then I bet Cloud9 is a better place to start, even though I haven't tried it yet.

It's also very easy to install linux on a Chromebook these days. See, for example, the Arch wiki explaining the process:

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

First install anaconda.

Then conda install -c ruby-lang ruby

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top