Interesting
RVM local/server version mismatch
A pivot noted that if you are using RVM in both your development and production environments, and you are using Capistrano for deployment, that you could encounter weird errors at deploy time like:
99: rvm_error: command not found
** [out :: app_user] /home/app_user/.rvm/scripts/rvm: line
121: __rvm_conditionally_add_bin_path: command not found
** [out :: example.com] /home/app_user/.rvm/bin/rvm-shell: line
26: rvm: command not found
These errors occur even after you follow the instructions at http://rvm.beginrescueend.com/integration/capistrano/.
The moral- make sure your RVM version numbers match in development and production.
THANK YOU!!!
this made my day, I have spent like 3 days just trying to figure out whats going on.. :D
March 9, 2011 at 3:26 pm
Thank you from here as well! Would have wasted A LOT of time without your hint… :)
March 21, 2011 at 4:29 am
And make sure that your RVM versions are the latest everywhere in addition to making them match :)
March 23, 2011 at 8:37 am