-
Notifications
You must be signed in to change notification settings - Fork 206
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
Reduce Ruby warnings in recent builds #345
Comments
Looks like we're in Ruby 2.1.x in all these, so dunno if it's related to newer ruby versions. Errors sampling:
Hm, also looking back a ways, this didn't have the errors but is actually ruby 2.1.2 also: https://travis-ci.org/publiclab/mapknitter/builds/410929149 |
After a quick look at the above build logs point to deprecated |
@gauravano @jywarren I will get involved with this too during mysql upgrade. If they are simple fixes I can always update them in that PR |
Copying over some information from my PRs #380 and #355 related to this:
Problem gems:
|
sure! Thank you!!!
…On Wed, Mar 27, 2019 at 1:25 AM Sasha Boginsky ***@***.***> wrote:
@jywarren <https://github.com/jywarren> from my comment above, should I
open a PR to update to Rails 4 next to try to resolve some of the
File.exists and maybe friendly_id errors?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#345 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJx-sjs65bgr0FZBvpp8ZSenc-JhFks5vawCpgaJpZM4bEB8p>
.
|
@sashadev-sky Sure that will be awesome. I can take up that issue! |
@sashadev-sky A lot of those warnings will be missing in Rails Upgrade. I empirically upgraded to Rails 4.2.8 here and a lot of those warning have gone missing. |
:-) awesome!!!
…On Tue, Apr 2, 2019 at 6:05 PM Álax de Carvalho Alves < ***@***.***> wrote:
A lot of those warnings will be missing in Rails Upgrade. I empirically
upgraded to Rails 4.2.8 here
<https://github.com/alaxalves/mapknitter/tree/rails4> and a lot of those
warning have gone missing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#345 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ3G5Cu6erIIf_H9qCfZdxAlzCS0lks5vc9P7gaJpZM4bEB8p>
.
|
@alaxalves Thank you that is great to hear! I'm going to open an issue regarding upgrading to Rails 4.0 to take it one step at a time. I will tag you there, let me know if you remember any gems or custom configs you remember having to update. I'll also just look at the version you tagged a link to to see |
@sashadev-sky The greatest approach to this is gradually updating versions, such as 3.2 to the next release. eg. rails 3.2 to rails 3.3. using the appropriate rake task. I'll try to make all those steps clearer in my GSoC proposal. I'll finish it today(04/03/2019) and I submit the link here. What do you think? |
I think we're doing MUCH better here now, and can close up and focus on Rails upgrades!!! |
Thanks, everyone! |
We're looking at upgrading Ruby in #319 and i'm seeing a lot of warning messages that weren't previously there in the recent #341 PR, which make it hard to read the output:
https://travis-ci.org/publiclab/mapknitter/builds/494340774
@sashadev-sky @gauravano @SidharthBansal what do you think, is this just stricter behavior from a more recent version of Ruby, or what else can we do to reduce the # of warnings? Thank you!
Just to note, it's not just in #341, i guess; this recent
main
branch build has lots too:https://travis-ci.org/publiclab/mapknitter/builds/493792946
The text was updated successfully, but these errors were encountered: