Thanks changing first line to #!/usr/bin/env ruby18 solved the problem

Ross

On 25 Dec 2015, at 04:40, Ronald Wampler <rdwampler@gmail.com> wrote:

On Tue, Dec 22, 2015 at 10:49 AM, Ross Ahmed <rossahmed@googlemail.com> wrote:
I’ve posted about this before but didn’t come to a solution.

Say I have this R code:

foo <- test
foofoofoo <- test
foofoo <- test

How can I align the code like this:

foo <- test
foofoofoo <- test
foofoo <- test

I’ve tried selecting the code and running Bundles > Align > Align Source,
but I get the message "Failure running “Align Source” interpreter failed: No
such file or directory”.
I am not familiar with this bundle, but searching Github this is the version
(https://github.com/tbates/align.tmbundle) I found that was recently updated.

I believe you may be using an older version, where the path to `ruby` was hard
coded. Try updating the bundle or in the Bundle Editor change the first line in
Align > Align Source to:

#!/usr/bin/env ruby18


Any suggestions?

Ross Ahmed
Ecologist

07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed



_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate