Capistrano + RVM = Problem with deployment?

Most of the time when I had issues with deploying on rvm environment it helps you to do the following.

Create a file in $home folder

touch .rvmrc

And paste following code:

rvm_trust_rvmrcs_flag=1