Skip to content

Re-add ruby switch #4

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nikolai-b
Copy link

partial revert of dbd0f6c
Without ruby switch then after installing $ ruby remains unchanged (and I have to use $ ruby2.1). You could just change the default but now it is in the Brightbox PPA I can't see why you wouldn't want to install it.

partial revert of dbd0f6c
@@ -10,19 +10,16 @@
notifies :run, "execute[apt-get update]", :immediately
end

packages = ["build-essential", "ruby#{node['brightbox-ruby']['version']}"]
packages = ["build-essential", "ruby#{node['brightbox-ruby']['version']}", "ruby-switch"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [89/80]

@benlangfeld
Copy link
Owner

Is your claim that this test fails without this commit?

@nikolai-b
Copy link
Author

Yes, it does. With a massive caveat that I forgot to mention...
I have just taken over a maintenance of a chef repo with a custom ruby1.9 install. I have just checked this on a new VM and when I run the custom ruby1.9 cookbook (alone) and then the Brightbox cookbook I get:

$ ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
$ ruby2.1 -v
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux-gnu]

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