WebFaction
Community site: login faq

How does my rails app know which gem path to use on webfaction?

asked 28 Oct '10, 22:03

THEM
769
accept rate: 0%


In the ~/webapps/app_name/bin directory there are start/stop/restart scripts that set it like this:

#!/bin/bash
TMPDIR=/home/username/webapps/your_app/tmp GEM_HOME=/home/username/webapps/your_app/gems /home/username/webapps/your_app/nginx/sbin/nginx -p /home/username/webapps/your_app/nginx/

Hope that helps!

permanent link

answered 28 Oct '10, 22:14

klynton
1.6k1210
accept rate: 41%

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

question asked: 28 Oct '10, 22:03

question was seen: 2,726 times

last updated: 28 Oct '10, 22:14

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