If you use bundler for your application, you do not need to use "/ usr / local / bin / rake" as the path for the rake.
you can just use
bundle exec rake
so your new script will be
#! / bin / sh
source / usr / local / rvm / scripts / rvm
cd / home / p1r65759 / apps / abbc /
bundle exec rake refresh_events RAILS_ENV = production
bundle exec will work because you are already in the project directory.
And don't forget to include a rake in your gemfile.
source share