<br><br>On Monday, December 24, 2012, thufir  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 23 Dec 2012 17:50:47 +1100, Sayth Renshaw wrote:<br>
<br>
> Well you shouldn't need to specify full path, you may want to swap the<br>
> rubies when using rvm.<br>
><br>
> So it's definitely a path problem. Can you run rbeautify from terminal<br>
> without changing to be in your rvm directory ?<br>
<br>
<br>
I don't understand what you mean.  There are three settings I'm now using<br>
'Set Build Commands'.  The first two are Ruby commands:<br>
<br>
compile   /home/thufir/.rvm/rubies/default/bin/ruby "%f"<br>
beautify  /home/thufir/.rbeautify.rb "%f"<br>
<br>
The third is under Execute commands:<br>
<br>
execute /home/thufir/.rvm/rubies/default/bin/ruby "%f"<br>
<br>
<br>
<br>
In so far as swapping rubies, wouldn't I do so from rvm and just have<br>
Geany use the default?<br>
<br>
<br>
The only build command which fails is beautify.<br>
<br>
Why shouldn't you specify the full path?  Do you mean that a relative<br>
path should be used?<br>
<br>
<br>
thanks,<br>
<br>
Thufir<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Users@lists.geany.org')">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote><div><br></div><div><br></div><div>Your compile command should be just "ruby %f" . You shouldn't be specifying full paths.</div><div><br></div><div>Say you create another ruby so that your path is</div>
<div><br></div><div><font><span style="line-height:normal;background-color:rgba(255,255,255,0)">  /home/thufir/.rvm/rubies/a_new_ruby/bin/ruby "%f"</span></font><br dir="ltr"></div><div><br></div><div>You would then have to change your compile commands. That defeats the point of using rvm. </div>
<div><br></div><div>All your commands should not specify a full path. When you switch rubies in rvm as long as you have beautify installed calling it should work.<span></span></div><div><br></div><div>Sayth</div><div> </div>