How do I install Ruby on my Ubuntu 12.10 partition

Panagiotis A. wrote in post #1090372:

Or you need to “chmod +x file.rb” to make it ‘executable’ under UNIX and
clones (like linux).

I’m really surprised by that! Why did changing the permissions to 755
not allow it to be executed? It still sets the ‘x’ flag. I’ve used
both methods and either worked in FreeBSD, Debian, and Cygwin
environments. What is the difference? I Google’d and check the man
pages, but did not find an answer.

Thanks,

On Fri, Dec 28, 2012 at 4:07 PM, Panagiotis A.
[email protected] wrote:

So according to you a user that doesn’t know how to change his hostname
will be able to use oh-my-zsh-like prompts and git/mercurial/svn/cvs/whatever???

I’m saying that a user not familiar with a CLI environment is best
served by learning its capabilities. And yes, that includes knowing
what a shell prompt represents, and how to change it.

YMMV,

On 29 Δεκ 2012, at 02:07 , Panagiotis A. [email protected]
wrote:

has gotten messed up in the file in question. Really, this is so basic:
08:48 /tmp $ ./example.rb
hello
08:48 /tmp $

Yeah you’re right. My bad, I’ll die and go to hell for that.

However you don’t even need 755, 600 is enough to make it exec.

No it’s not, you actually need 700 … oh my … :frowning: I need to spent
some time in cli.
pays back! … (2 secs)

I didn’t suggest that. I did not suggest anything for that matter.

Panagiotis (atmosx) Atmatzidis

email: [email protected]
URL: http://www.convalesco.org
GnuPG ID: 0xE736C6A0
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xE736C6A0

The wise man said: “Never argue with an idiot. They bring you down to their
level and beat you with experience.”

Panagiotis (atmosx) Atmatzidis

email: [email protected]
URL: http://www.convalesco.org
GnuPG ID: 0xE736C6A0
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xE736C6A0