sh: __rvm_date: line 1: syntax error: unexpected end of file sh: error importing function definition for `__rvm_date'
What worked for me is to shutdown RubyMine and edit the
file and add:
To the end of it.
Apparently there is a bug for it at:
Something to do with loading rvm through shell inside RubyMine.