Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 3/8/2011

Danny Burkes
Tuesday, March 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.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

3 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

    March 9, 2011 at 3:26 pm

  2. Ule says:

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

    March 21, 2011 at 4:29 am

  3. Wayne E. Seguin says:

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

    March 23, 2011 at 8:37 am

Add New Comment Cancel reply

Your email address will not be published.

Danny Burkes

Danny Burkes
San Francisco

Recent Posts

  • Big Data
  • Urban Dictionary: Recent Infrastructure Changes for Rails at Scale
  • Scaling Web Applications with MemCachier
Subscribe to Danny's Feed

Author Topics

activerecord (1)
webmock (1)
agile (3)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >