Friday, July 27, 2012

The rvmrc located in '/x/y/z/path' could not be loaded, likely due to trust mechanisms. Please run 'rvm rvmrc {trust,untrust} '/x/y/z/path'' to continue, or set rvm_trust_rvmrcs_flag to 1. (RVM::ErrorLoadingRVMRC)


Environment:
Rails 3.2.6
ruby 1.9.3p194
Phusion Passenger version 3.0.13


Error message:
The rvmrc located in '/x/y/z/path'
could not be loaded, likely due to trust mechanisms. Please run 'rvm rvmrc
{trust,untrust} '/x/y/z/path'' to
continue, or set rvm_trust_rvmrcs_flag to 1. (RVM::ErrorLoadingRVMRC)

Problem:
Unknown, don't know what this is happening


Fix:
1. cd to /x/y/z/path and run `rvm rvmrc trust` on the command line, restart apache (this didn't work for me)
2. add rvm_trust_rvmrcs_flag=1 to ~/.rvmrc, restart apache (this worked for me)

No comments:

Post a Comment