I have installed rbenv on an Ubuntu sever. I can cd into my application directory and run $ bundle
without issue, however I need to run $ sudo bundle exec ...
and this gets me an error:
bundle: command not found
Why is this and how can I fix it?