WebFaction
Community site: login faq

I'm getting this error when running cap deploy.

executing "cd /home/sergiotapia/webapps/demoapp/releases/20130601232947 && bundle install --gemfile /home/sergiotapia/webapps/demoapp/releases/20130601232947/Gemfile --path /home/sergiotapia/webapps/demoapp/shared/bundle --deployment --quiet --without development test"
    servers: ["web311.webfaction.com"]
    [web311.webfaction.com] executing command
 ** [out :: web311.webfaction.com] sh: bundle: command not found
    command finished in 777ms
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/sergiotapia/webapps/demoapp/releases/20130601232947; true"
    servers: ["web311.webfaction.com"]

Why can I run bundle commands manually in my terminal and it works; but Capistrano cannot find bundler?

I know that WebFaction is very unique in it's architecture so Google hasn't given my an answer and I've been looking all afternoon.

Any suggestions?

asked 01 Jun '13, 18:32

serg
112
accept rate: 0%

edited 01 Jun '13, 18:50


bundle probably isn't on your PATH. Are you setting the environment variables as described in our Rails documentation? You could conceivably have multiple Rails applications, each with their own bundle, so there would be no way for the system to know which one you are referring to without specifying this.

permanent link

answered 01 Jun '13, 23:03

ryans ♦♦
5.0k103760
accept rate: 43%

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
×8

question asked: 01 Jun '13, 18:32

question was seen: 2,571 times

last updated: 01 Jun '13, 23:03

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 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