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

default config should include passenger_root and passenger_ruby #4

Open
deric opened this issue Jul 26, 2013 · 1 comment
Open

default config should include passenger_root and passenger_ruby #4

deric opened this issue Jul 26, 2013 · 1 comment

Comments

@deric
Copy link
Owner

deric commented Jul 26, 2013

The package should work out of box, so the variables should be defined according to versions ruby and passenger on which was package built.

@elmatou
Copy link
Contributor

elmatou commented Jul 26, 2013

These are included in conf.d/passenger.conf

But packaging means portability, that is why passenger_root should be set to a vendored or packaged version of passenger with a predictible path or with passenger-config --root in the postinst script but this will break RVM compatibility.

passenger_ruby is a bit more tricky to set, depending of the version of ruby you use (source, debian package or RVM) the path to the interpreter can change, even between different webapp (passenger 4.0 allow to use several ruby version with RVM)

I think we can trigger passenger-config --ruby-command in the postinst script.

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

No branches or pull requests

2 participants