In my Rails (Release 6) web application I'll use a bash script to do some action. The app will call the script in a controller with a fragment inside backticks.
def action
...
`#{custom_script_dir}/my_script.sh`
...
render ...
end
Which directory I should place my script into? Is there a standard place for such custom extra shell scripts?
scriptfolder at the repo root