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

thufir hawat.thufir at gmail.com
Sun Dec 23 19:23:50 UTC 2012


On Sun, 23 Dec 2012 17:50:47 +1100, Sayth Renshaw wrote:

> Well you shouldn't need to specify full path, you may want to swap the
> rubies when using rvm.
> 
> So it's definitely a path problem. Can you run rbeautify from terminal
> without changing to be in your rvm directory ?


I don't understand what you mean.  There are three settings I'm now using 
'Set Build Commands'.  The first two are Ruby commands:

compile   /home/thufir/.rvm/rubies/default/bin/ruby "%f"
beautify  /home/thufir/.rbeautify.rb "%f"

The third is under Execute commands:

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



In so far as swapping rubies, wouldn't I do so from rvm and just have 
Geany use the default?


The only build command which fails is beautify.

Why shouldn't you specify the full path?  Do you mean that a relative 
path should be used?


thanks,

Thufir



More information about the Users mailing list