When executing some commands, for example:

$ /etc/cron.daily/prelink 

An error is issued

 zsh: command not found: rvm-prompt 

How to solve this problem?

  • The solution is simple: do not run programs that are not intended for such a launch. - aleksandr barakin

1 answer 1

This helped solve the problem.

 sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm install 2.2.2 rvm use 2.2.2 --default ruby -v