Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for system-wide rbenv install in Upstart script #704

Merged
merged 2 commits into from
Jun 10, 2015
Merged

Check for system-wide rbenv install in Upstart script #704

merged 2 commits into from
Jun 10, 2015

Conversation

grega
Copy link
Contributor

@grega grega commented May 27, 2015

The Jungle Upstart script breaks if rbenv is installed system-wide rather than for a specific user so have added an extra check (for /usr/local/rbenv/bin) in order to set PATH correctly.

Also, many applications use environment variables for their config (eg. /etc/environment) instead of an application.yml or similar, but Upstart doesn't pick up on these even from common locations (/etc/environment, /etc/profile.d/*.sh) so they need to be sourced manually in the Upstart script. Have added in a commented example of this.

evanphx added a commit that referenced this pull request Jun 10, 2015
Check for system-wide rbenv install in Upstart script
@evanphx evanphx merged commit 66dda0e into puma:master Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants