WebFaction
Community site: login faq

I've installed rubygems using the following link:instructions

However, when I run capistrano, it uses the shared rubygems command and not the locally installed version in my home directory. Basically it looks like bundle is calling the wrong version.

How do I ensure that capistrano/bundle uses the local rubygems version?

asked 11 Jul '11, 12:42

THEM
749
accept rate: 0%


You probably need to set your PATH and GEM_HOME environment variables in your deploy.rb. There are some examples in this post in our old forum: Deploying with Capistrano

Hope that helps!

permanent link

answered 11 Jul '11, 14:42

seanf
12.2k41836
accept rate: 37%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×108
×20
×7

question asked: 11 Jul '11, 12:42

question was seen: 3,488 times

last updated: 11 Jul '11, 14:42

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM