[Geany-Users] rvm ruby: Permission denied

Colomban Wendling lists.ban at herbesfolles.org
Mon Dec 17 17:04:46 UTC 2012


Hi,

Le 17/12/2012 17:57, Thufir a écrit :
> I don't see why I would have a permissions problem:
> 
> ./geany_run_script.sh: 5: ./geany_run_script.sh:
> /home/thufir/.rvm/rubies/default: Permission denied
> 
> 
> ------------------
> (program exited with code: 126)
> Press return to continue
> 
> 
> 
> thufir at dur:~$
> thufir at dur:~$ ll /home/thufir/.rvm/rubies/default
> lrwxrwxrwx 1 thufir thufir 40 Dec 13 00:19
> /home/thufir/.rvm/rubies/default ->
> /home/thufir/.rvm/rubies/ruby-1.9.3-p327/
> thufir at dur:~$
> 
> 
> In the build commands I put execute to:
> 
> /home/thufir/.rvm/rubies/default "%f"

Looks like you try to execute a directory?

I guess you need to replace your build command with:

	/home/thufir/.rvm/rubies/default/bin/ruby "%f"

> but inadvertently wiped out the compile field.  I didn't see where geany
> stores its config files, no ~/.geany directory, but I only changed the
> build commands.

The build commands are saved in the filetypes files under,
~/.config/geany/filedefs/

Regards,
Colomban

> see also:
> 
> http://article.gmane.org/gmane.editors.geany.general/6781
> 
> 
> 
> 
> thanks,
> 
> Thufir


More information about the Users mailing list