Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 3/8/2011

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.

Comments
  1. Jonathan says:

    THANK YOU!!!
    this made my day, I have spent like 3 days just trying to figure out whats going on.. :D

  2. Ule says:

    Thank you from here as well! Would have wasted A LOT of time without your hint… :)

  3. And make sure that your RVM versions are the latest everywhere in addition to making them match :)

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *