Hello,

On 27 Ŧ 2012, at 18:16 , Kaye Ng <lists / ruby-forum.com> wrote:

> Hey Derrick,
> 
> kaye@kaye-R439-R478:/media/kaye/MARLON/ruby/practice$ chmod 755 
> Dungeon_interactive.rb
> 
> kaye@kaye-R439-R478:/media/kaye/MARLON/ruby/practice$
> ./Dungeon_interactive.rb
> 
> bash: ./Dungeon_interactive.rb: Permission denied
> 
> What now?

You changed the "permissions" of the file but didn't make the file "executable".

Either you run it as:

ruby file.rb

Or you need to "chmod +x file.rb" to make it 'executable' under UNIX and clones (like linux).

> 
> Also, is there anyway to change the "kaye@kaye-R439-R478" ? It's 
> probably a Ubuntu question but what the heck....

gksudo gedit /etc/hostname

> 
> Thanks!!!
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 

No prob :-) 


Panagiotis (atmosx) Atmatzidis

email:	atma / convalesco.org
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."