On Sun, 23 Dec 2012 13:43:33 +1100, Sayth Renshaw wrote:

> I usually set up my pep8 checkers, pylint and perl tidy into my build
> commands
> 
> Build -> Set Build Commands


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"


Pressing F8 runs the ruby script fine (thanks for the help) but F9 for 
beautify results in:


/home/thufir/.rbeautify.rb "mail.rb" (in directory: /home/thufir/ruby)
Compilation failed.
/bin/sh: 1: /home/thufir/.rbeautify.rb: not found

The script is at:

thufir@dur:~$ 
thufir@dur:~$ ls -al .rbeautify.rb 
-rwxrwxr-x 1 thufir thufir 6880 Dec 22 22:16 .rbeautify.rb
thufir@dur:~$ 
thufir@dur:~$ head .rbeautify.rb -n 6
#!/usr/bin/ruby -w


=begin
/
***************************************************************************
 *   Copyright (C) 2008, Paul Lutus                                        
*
thufir@dur:~$ 



Somehow I have the path or variable wrong?


thanks,

Thufir

_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

Reply via email to