0

1) Is it possible to install Ruby (the compiler) onto a flashdrive and run it on another machine without adding the registry edits? Is there like a portable copy of the compiler that I can use? I need Ruby at school, but I can't install anything.


2) I think my Ruby is dead. I try to run a really simple program and Ruby hangs whenever I use gets()... For example:

name = gets("What is your name? ")
puts name

Inputted in SciTE makes the command line for Ruby pop up, then it freezes, only to let me exit Ruby and continue working. I can use puts() and other commands fine. What is wrong:?: I NEED RUBY TO WORK!

4
Contributors
5
Replies
8
Views
9 Years
Discussion Span
Last Post by HiHe
0

Hmm... I got both of them fixed, with a little work. I copied the whole directory for Ruby onto my flashdrive, and it works! And for the other, it was SciTE that was hanging it.

0

Hmm... I got both of them fixed, with a little work. I copied the whole directory for Ruby onto my flashdrive, and it works! And for the other, it was SciTE that was hanging it.

Afraid I never tried to run Scite from a flash drive. Have you tried Notepad++? When I was at uni I ran that from my flash cos the text editor installed on the Windows workstations was annoying (so bad that most people just used notepad).

0

I copied the whole directory for Ruby onto my flashdrive, and it works!

So flash drives don't make registry references?

0

I think it is SciTE's output windows that hangs the input.

Edited by HiHe: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.