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

Set a GEM_PATH variable in /etc/default/sensu #203

Merged
merged 1 commit into from
Sep 12, 2014
Merged

Set a GEM_PATH variable in /etc/default/sensu #203

merged 1 commit into from
Sep 12, 2014

Conversation

octete
Copy link
Contributor

@octete octete commented Jul 4, 2014

If we have gems installed in different locations, we'd like to be able to use them without having to mess around the /opt/sensu directory.

We have a use case where we want to install all ruby gems via debian packages, but we don't want to be messing around with the system's gem, or the embedded gem, etc. Would it be possible to extend the module to have this option in /etc/default/sensu?

I haven't seen there are tests for this, but let me know if there is anything I can do.

Also, I'm slightly confused with GEM_PATH and GEM_HOME. Does the former need to include/respect the latter?

Thanks.

If we have gems installed in different locations, we'd like to be able
to use them without having to mess around the /opt/sensu directory.
@jamtur01
Copy link
Contributor

@jlambert121 Any thoughts?

@octete
Copy link
Contributor Author

octete commented Sep 12, 2014

Any updates on this? 😄

@jlambert121
Copy link
Contributor

I haven't had any time to took into this or test it. Off the top of my head I don't know the difference between GEM_PATH and GEM_HOME (or if they're even both used) which is why I haven't had an opinion. At face value I see nothing wrong with it, just wanted to do some testing on it.

@octete
Copy link
Contributor Author

octete commented Sep 12, 2014

That's fine, thanks.
FWIW, I've been running it with the patch for 2 months, and haven't seen anything weird (at least using the external gem directory).

jamtur01 added a commit that referenced this pull request Sep 12, 2014
Set a GEM_PATH variable in /etc/default/sensu
@jamtur01 jamtur01 merged commit 3ed0e87 into sensu:master Sep 12, 2014
@octete
Copy link
Contributor Author

octete commented Sep 15, 2014

Thanks, appreciated! 😄

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.

3 participants