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

(#2208) FreeBSD: call /usr/local/bin/ruby explicitly #348

Merged
merged 1 commit into from Jul 13, 2015
Merged

(#2208) FreeBSD: call /usr/local/bin/ruby explicitly #348

merged 1 commit into from Jul 13, 2015

Conversation

gwollman
Copy link
Contributor

On FreeBSD systems, the Ruby interpreter is normally installed in
/usr/local/bin, which is not on the default PATH when running init
scripts. Most users will have it in their PATH when logged in, which
causes concat to fail when run from init (or "service puppet start")
but not when run from directly the command line ("sudo puppet agent").
This follows the same strategy as OpenBSD, but avoid specifying the
Ruby interpreter version explicitly, because FreeBSD supports three
different versions of Ruby (with the default always being installed as
/usr/local/bin/ruby).

On FreeBSD systems, the Ruby interpreter is normally installed in
/usr/local/bin, which is not on the default PATH when running init
scripts.  Most users will have it in their PATH when logged in, which
causes concat to fail when run from init (or "service puppet start")
but not when run from directly the command line ("sudo puppet agent").
This follows the same strategy as OpenBSD, but avoid specifying the
Ruby interpreter version explicitly, because FreeBSD supports three
different versions of Ruby (with the default always being installed as
/usr/local/bin/ruby).
underscorgan pushed a commit that referenced this pull request Jul 13, 2015
…eter

(#2208) FreeBSD: call /usr/local/bin/ruby explicitly
@underscorgan underscorgan merged commit e936813 into puppetlabs:master Jul 13, 2015
@underscorgan
Copy link
Contributor

Thanks @gwollman !

@gwollman gwollman deleted the bug/master/FreeBSD-ruby-interpreter branch July 14, 2015 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants