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 from Rails 3.2 to Rails 4.2.8 #481

Closed
sashadev-sky opened this issue Apr 3, 2019 · 13 comments · Fixed by #578
Closed

Upgrade from Rails 3.2 to Rails 4.2.8 #481

sashadev-sky opened this issue Apr 3, 2019 · 13 comments · Fixed by #578

Comments

@sashadev-sky
Copy link
Member

References #305 #345

Current system versions:
Rails 3.2
Ruby 2.4.4

@sashadev-sky
Copy link
Member Author

sashadev-sky commented Apr 3, 2019

Tagging some relevant people @cesswairimu @Souravirus @jywarren @stefannibrasil @gauravano @alaxalves

@kaustubh-nair
Copy link
Member

Rails 4.0 and Ruby 2.4 are not compatible. ( Relevant issue: rails/rails#27670)
You'll run into <class:Numeric>': stack level too deep (SystemStackError) error
The best approach is to directly upgrade to Rails 4.2.8 or higher
Thanks

@sashadev-sky
Copy link
Member Author

@kaunair sorry i meant to tag you in this too!! I'm actually not going to be able to open a PR for this for a week or so, so you can address it if you wanted to get a head start!

Thank you for advising me on that though I will keep that in mind if I do end up opening the PR for it. @alaxalves mentioned he went with 4.2.8 so I'm going to run with that too as per your suggestion. Updating the issue name! Thanks!

@sashadev-sky sashadev-sky changed the title Upgrade from Rails 3.2 to Rails 4.0 Upgrade from Rails 3.2 to Rails 4.2.8 Apr 3, 2019
@kaustubh-nair kaustubh-nair mentioned this issue Apr 3, 2019
5 tasks
@alaxalves
Copy link
Member

alaxalves commented Apr 3, 2019

@sashadev-sky I started some work regarding this a while ago in https://github.com/alaxalves/mapknitter/tree/rails4, as I said here but @jywarren told me to wait for it a little here. Maybe because of GSoC. 🤔

@sashadev-sky
Copy link
Member Author

@alaxalves Yeah just getting the ball rolling. There will still be a lot of work to do for SoC in terms of upgrades even if we get it to Rails 4. But @kaustubh-nair had a proposal for doing the upgrades and he's getting involved here early (thank you!)

@sashadev-sky
Copy link
Member Author

@alaxalves Sorry I just realized you might have a proposal for this too based on a comment you wrote!! I'm not involved in the proposal process at all I just happened to see @kaustubh-nair's at some point so apologies if I created any confusion or left you out in the last comment. Just trying to upgrade Rails sooner and thank you for helping too :)

@grvsachdeva
Copy link
Member

I think you all can divide the upgrade tasks and work keeping each other in sync?

@kaustubh-nair
Copy link
Member

The upgrade is paused for now. Since we don't have enough test coverage. We'll continue after that

@sashadev-sky
Copy link
Member Author

@kaustubh-nair yeah thats what I think @gauravano was getting at - dividing up the test coverage and other work between us

@sashadev-sky
Copy link
Member Author

+1 @gauravano

@grvsachdeva
Copy link
Member

Also, you can get expert help from @Souravirus (expert of big PRs 🙈 ) and he also did this kind of upgrade last year for plots2 - jywarren/plots2#266 and then Rails upgrade in GSoC. And, you know @siaw23 (the Rubyist)

Thanks!

@cesswairimu
Copy link
Collaborator

cesswairimu commented May 5, 2019

Just noting here, I was trying to build on top of #482 as we had discussed with @kaustubh-nair but was finding it overwhelming because of the different changes in the in between versions. I also found elsewhere that the Rails 4.0 and Ruby 2.4 compatibility was fixed. Trying out if this will work on #578 😑 . This would be better if it works for debugging and making sure we don't miss anything between the versions. Also if it doesn't work will fall back on #482 😥 Thanks all

@jywarren
Copy link
Member

jywarren commented May 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants