<br><br>On Sunday, December 23, 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 13:43:33 +1100, Sayth Renshaw wrote:<br>
<br>
<br>
> I usually set up my pep8 checkers, pylint and perl tidy into my build<br>
> commands<br>
><br>
> Build -> Set Build Commands<br>
<br>
<br>
I set compile (and execute) to:<br>
<br>
/home/thufir/.rvm/rubies/default/bin/ruby "%f"<br>
<br>
and right below that set "beautify" to:<br>
<br>
/home/thufir/.rbeautify.rb "%f"<br>
<br>
<br>
Pressing F8 runs the ruby script fine (thanks for the help) but F9 for<br>
beautify results in:<br>
<br>
<br>
/home/thufir/.rbeautify.rb "mail.rb" (in directory: /home/thufir/ruby)<br>
Compilation failed.<br>
/bin/sh: 1: /home/thufir/.rbeautify.rb: not found<br>
<br>
The script is at:<br>
<br>
thufir@dur:~$<br>
thufir@dur:~$ ls -al .rbeautify.rb<br>
-rwxrwxr-x 1 thufir thufir 6880 Dec 22 22:16 .rbeautify.rb<br>
thufir@dur:~$<br>
thufir@dur:~$ head .rbeautify.rb -n 6<br>
#!/usr/bin/ruby -w<br>
<br>
<br>
=begin<br>
/<br>
***************************************************************************<br>
 *   Copyright (C) 2008, Paul Lutus<br>
*<br>
thufir@dur:~$<br>
<br>
<br>
<br>
Somehow I have the path or variable wrong?<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>Well you shouldn't need to specify full path, you may want to swap the rubies when using rvm. </div><div><br></div><div>So it's definitely a path problem. Can you run rbeautify from terminal without changing to be in your rvm directory ? Did you set rvm to --use default otherwise you will go back to system default ruby.</div>
<div><br></div><div><br></div><div>Sayth <span></span> </div>