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

Upgrade to Ruby 2.4 #16101

Closed
wants to merge 3 commits into from
Closed

Upgrade to Ruby 2.4 #16101

wants to merge 3 commits into from

Conversation

chrisarcand
Copy link
Member

To be merged on Wednesday, October 4th

Updates our stuff to use Ruby 2.4.2

Part of #14446

@jrafanie jrafanie mentioned this pull request Oct 3, 2017
54 tasks
@miq-bot
Copy link
Member

miq-bot commented Oct 3, 2017

Checked commits chrisarcand/manageiq@632ec2f~...0f7d65d with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@@ -1,4 +1,4 @@
raise "Ruby versions less than 2.2.2 are unsupported!" if RUBY_VERSION < "2.2.2"
raise "Ruby versions less than 2.3.5 are unsupported!" if RUBY_VERSION < "2.3.5"
Copy link
Member Author

Choose a reason for hiding this comment

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

@jrafanie Is this...ok? Sanity check.

Copy link
Member

Choose a reason for hiding this comment

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

No, I think this needs to be < 2.3.1 since the oldest 2.3 will be on downstream appliances with the 2.3.1 package cc @simaishi (for confirmation)

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, 2.3.1 needs to stay as the supported version until downstream appliances get newer ruby.

@Fryguy
Copy link
Member

Fryguy commented Oct 3, 2017

We also have a ruby in our container-httpd, which we're going to have to ensure matches: https://github.com/ManageIQ/container-httpd/blob/master/Dockerfile#L78-L79

@@ -123,7 +123,7 @@ ADD . ${APP_ROOT}

## Setup environment
RUN ${APPLIANCE_ROOT}/setup && \
echo "export PATH=\$PATH:/opt/rubies/ruby-2.3.1/bin" >> /etc/default/evm && \
echo "export PATH=\$PATH:/opt/rubies/ruby-2.4.2/bin" >> /etc/default/evm && \
Copy link
Member

Choose a reason for hiding this comment

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

Can you extract the Docker changes into a separate PR (same reasons as I stated in ManageIQ/manageiq-appliance-build#229 (comment) ). This way we can merge that separately from the Travis/Gemfile bump.

@chrisarcand
Copy link
Member Author

Closing this, some things need to be split up with these changes actually.

@chrisarcand chrisarcand closed this Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants