[Geany-Users] beautify-ruby-code-with-geany

Colomban Wendling lists.ban at herbesfolles.org
Sun Dec 23 19:30:19 UTC 2012


Hi,

Disclaimer: I don't know Ruby.

Le 23/12/2012 07:34, thufir a écrit :
> [...]
> I set compile (and execute) to:
> 
> /home/thufir/.rvm/rubies/default/bin/ruby "%f"
> 
> and right below that set "beautify" to:
> 
> /home/thufir/.rbeautify.rb "%f"
> 
> 
> [...]
> thufir at dur:~$ head .rbeautify.rb -n 6
> #!/usr/bin/ruby -w
> 
> [...]

Your .rbeautify.rb script seems to use /usr/bin/ruby, while you specify
a specific Ruby paths for the compile/execute, is that normal?

Anyway, try specifying the Ruby path:

/home/thufir/.rvm/rubies/default/bin/ruby -w /home/thufir/.rbeautify.rb "%f"

Cheers,
Colomban


More information about the Users mailing list