Choosing Which Version of a Gem to Run

Paul Sturgess posted a nice little tip on how to How to use Capistrano 1.x to deploy Ruby on Rails apps when you have Cap 2.x. Basically, the following syntax will allow you to choose which version of a gem to run:

cap _1.4.1_ deploy

Or say you want to generate a 1.2.3 rails app:

rails _1.2.3_ my_old_app

Nice one Paul!

Post a Comment

Your email is never published nor shared. Required fields are marked *