[Github-comments] [geany/geany] can't execute ruby files (#2425)

RuinChristmas notifications at xxxxx
Fri Jan 24 02:23:13 UTC 2020


Geany 1.32 on Linux Mint 19.3
just trying to execute a ruby program by pressing F5 like I do for Python and I get this error:

```
/tmp/geany_run_script_2LITE0.sh: 7: /tmp/geany_run_script_2LITE0.sh: ruby: not found
------------------
(program exited with code: 127)
Press return to continue
```
it is just a "hello world" program, when I go to the directory in gnome terminal and type "ruby hello.rb" the program executes.

it does run in VTE mode
I have tried changing the shell from the default /bin/sh to /bin/bash
my execute command is simply: ruby "%f"

not sure why this works for python programs but not ruby. Thank you

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2425
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200123/d65250c8/attachment.htm>


More information about the Github-comments mailing list